Imagine you are on Windows 7 and you have to write a GUI for a GRAPHIC application, (like a terrain editor, mesh viewer ..) which involves a great use of DirectX and OpenGL (so written in native C++).
I have the following problem: A program run on a windows machine (32bit, 3.1Gb memory, both VC++2008 and mingw compiled code) fails with a bad_alloc exception thrown (after allocating around 1.2Gb;
There is a manufacturer\'s serial number on SD cards, and there are a number of pages on the \'net that describe how to retrieve it on various mobile devices (including this one). But I need to retrie
In Windows XP the Win32 API renders the controls using GDI/GDI+. Now I\'m on 7, so if I use the API\'s functions, will the rendering automatically be handled by the DWM/WDDM (so by DirectX)? or will i
Simple situation. I\'m trying to write my own blog with a minor twist. Part of the blog will be controlled from a client application instead of a web interface. Basically, I\'m still in the design pha
is it normal to get the ju开发者_JS百科nk bytes at end of buffer when this function returns?If you\'re using a block cipher, it\'s normal for the output to be padded to a multiple of the block size. W
I know its possible to do something like this with Windows: MessageBox(hWnd, \"Yes, No, or Cancel?\", \"YNCB_YESNOCANCEL);
I\'m writing a DLL which a java program uses to call the WinAPI in various ways.开发者_如何学CI want to throw proper exceptions back to java but I need a nicely formated WinAPI error not just the int
I have the source code for taking a picture via webcam, but I need to know if there\'s a webcam connected to the PC. If there开发者_如何转开发\'s no webcam, the program won\'t call the function for ta
Is there any way to get the boot order programmatically, on Wi开发者_如何转开发ndows ?On Windows 98 it was possible to read CMOS data (BIOS settings) by using the CPU ports.