Hi,
I am trying to write some code to load a bitmap, so that I can retrieve its pixel data. On the MSDN website, I found a function called LoadBitmap, which seems to do what I want :
http://msdn.microsoft.com/library/de...tmaps_4c34.asp
The function prototype is:
HBITMAP LoadBitmap(
HINSTANCE hInstance, // handle to application instance
LPCTSTR lpBitmapName // name of bitmap resource
);
However, I am quite new to programming, and I don't know how to use the function. It says that hInstance is the "handle to the instance of the module whose executable file contains the bitmap to be loaded."
What on earth does this mean? What is a handle? What is the executable file that it is talking about?
As you can probably tell, my knowledge of C++ has a fair way to go!
Thank you.



LinkBack URL
About LinkBacks


