I suspect that it probably has to do with another stack variable either before or after "INITCOMMONCONTROLSEX InitCtrls;" which is over/under-flowing. All the ICC_xxx defines are the same size...
No, the buzzword is "Desktop Composition". It is sort of a cache of window contents maintained by the OS to keep a better idea of what windows are doing and to improve performance. You should still...
Actually, I believe it is your first line. CreateCompatibleDC(NULL) will produce a monochrome DC until some object is selected into it. Instead, try CreateCompatibleDC(GetDC(hWnd)) where hWnd is a...
The netmask is part of the IP configuration for the interface. You can't just guess. With that broadcast address, this looks like a class A network. How come you don't have the netmask information?
IA64 binaries are NOT compatible with x64 binaries in the windows world. I'm not sure what you are trying to do, but you seem to be mixing two types of binaries in your linking step.
That's probably the telnet server querying the client for supported options. These are established before the session ever gets to a prompt. See the telnet RFC:
...
Sounds like one of those cracker-ish keygen.exe type things that you find one warez sites. Obnoxious graphics and noise to show off how cool the cracker is. Usually crawling with trojans once it...
In this case, since you mentioned it's an 8-bit BMP, it appears that you are corrupting your bitmap by loading the pixel information into the color table area. An 8-bit BMP has a table of 256 DWORDS...
what is the "case WM_PAINT:" doing in your button handler? It should be a separate case on the same level as WM_COMMAND. What you need to do is ONLY paint in the WM_PAINT handler (the correct one)....
You are loading a DIB (device independent bitmap) then trying to blit it to a specific device (not independent). You need to first convert your DIB to a device dependent bitmap (DDB) that is...
How much clearer can I state it? There is a palette in the file and a palette in the bitmap structure. Commenting those lines makes the code fail to load the palette from the file. Without filling...