Can you give me an example ? "Since you're using C++ you'll need to cast the return value from HANDLE to HBITMAP using static_cast or the c equivalent if you prefer."
Can you give me an example ? "Since you're using C++ you'll need to cast the return value from HANDLE to HBITMAP using static_cast or the c equivalent if you prefer."
/* Have a nice day */
In C++:
In C:Code:HBITMAP hBitmap = static_cast<HBITMAP>(LoadImage(...));
Code:HBITMAP hBitmap = (HBITMAP)LoadImage(...);
"...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers