I know that there it is possible to program Win32 applications using C++, but half the time, I get all kinds of errors, based off of things that were fine in C, but a no-no in C++. For example...
Code:
HBITMAP CreateBitmap(int nWidth, int nHeight,
UINT cPlanes, UINT cBitsPerPixel,
CONST VOID* lpvBits);
I'm refering to the last perameter specifically. In C, using a void* is fine, but when I try to use this function in C++, I get an error for casting an int* as a void*. How would I work around things like this?