How can I multiply matrix greater than 4 x 4 in the vc++ using directx?
I have to multiply 12x12 matrix with 12x 1 matrix in VC++ directx. Which template library should I use with vs 2005 I want to do matrix multiplication faster too. ...
I have to multiply 12x12 matrix with 12x 1 matrix in VC++ directx. Which template library should I use with vs 2005 I want to do matrix multiplication faster too. ...
Hi All, I'm using MFC feature pack and I have a dockable properties window. How do I restrict the user from typing any other characters but numbers alone in the values field? Thanks... ...
Hi All I am using vc++ and creating a thread using CreateThread function .Can I restart it again once it has returned after completing its task. ...
I am trying to add menus to a window created in win32 API through VC++. This program generates two errors which I am not able to fix. The code as following. GENERIC.H #define IDM_EXIT 100 #define IDM_TEST 200 #define IDM_ABOUT 300 LRESULT CALLBACK WndProc(HWND, UINT, WPARAM, LPARAM); LRESULT CALLBACK About (HWND, UINT, WPARAM, LPARAM...
when I am trying to compile a program in c++ with VC++ first the compiler was not able to locate stdafx.h then I downloaded SDK. then lots of error started generating e.g. c:\program files\microsoft visual studio 9.0\vc\include\cstring(25) : warning C4091: '' : ignored on left of 'unsigned int' when no variable is declared c:\program...
What is the default value for a pointer in Visual C++ 6.0. If it matters my question refers particularly to variables on the stack. In this case would myArray initially be a NULL pointer or would it have an undefined value? double* myArray; ...
I'm finding that with dynamic linking, even with SxS, Windows Update will come along and stomp on a version of the VC8 CRT (for example it has a security flaw) and then my app will fail to run with older versions. What are some of the important reasons to stay with the dynamic linking with VC CRT, other than increasing the size of your ...
I've enabled openMP using the project settings, but when I do #include I get an error the file doesn't exist. I'm using Visual Studio stadnard edition, not Express... what else is missing? Every page I find simply says to turn it on in project settings and it will work. ...
I'm trying to get a DialogBox with a check box to appear. I added it to the resource file, created the dialog template, and added the class and event handler for the dialog. As I understand it, now I just need to create an instance of the class and call DoModal(). So, I've gone back and done some investigating and played with the cod...
How to redraw an active x control in visual C++ programmatically?? ...
Can anyone tell code about Invalidate method of Rect Object in Active X control in VC++? ...
I am creating a window program using VC++ through win32 API. I wanted to create a ellipse shaped window how this can be achived. ...
I have downloaded a code when I am building the program, a message window is shown having following message. Please specify the name of the Executable file to be used for debug session. ...
Using C++ with Visual Studio, I was wondering if there's an API that will print the callstack for me. Preferably, I'd like to print a callstack 5 levels deep. Does windows provide a simple API to allow me to do this? ...
hi friends i m using malloc to allocate memory and memory requirements are greater than 1GB. so program is crashing... i want to ask whether this problem can be solved??If yes than how?? my RAM size is 3GB and using 32 bit windows os and programming using vc++ ...
I want to capture following attributes from print server spool on print of any page. i am able to capture 3 of 4 attributes through these APIs(FindFirstPrinterChangeNotification, FindNextPrinterChangeNotification). but still i am not able to get data of file(so i can keep the thumbnail of this file by page by page) Computer Name - DONE ...
Hi All, I want to write a function(say foo) which takes string as an argument and returns a function pointer ,however this pointer points to following function: DWORD WINAPI fThread1(LPVOID lparam) Also the function(foo) is member of a class so i will be defining it and declaring it in seperate files(header and .cpp files). Please h...
My Win32 C++ application acts as an RPC server - it has a set of functions for processing requests and RPC runtime creates a separate thread and invokes one of my functions in that thread. In my function I have an std::auto_ptr which is used to control a heap-allocated char[] array of size known at compile time. It accidentially works w...
I have created a skin in VC++ through the win32 API. Now I want to add controls to the skins. How can this be achieved? ...
I am trying to subclass the window that currently has focus. I do this by monitoring for HCBT_ACTIVATE events using a CBT hook, and set and unset the WndProc of the focused and previously focused windows. The problem is that it only works whenever I have a breakpoint set somewhere in the code. If there is no breakpoint, once my applic...