Hi all!
I am puzzled with LoadBitmap function.
There is a bitmap resource with ID=100
If I create window by CreateWindow - everything is OK, the LoadBitmap works normaly.
But if I use DialogBoxParam, that is, create it from dialog resource - the LoadBitmap just refuses to work, each time returns 0.
Why? :(
GetLastError returns "The specified resource name cannot be found in the image file."
Thanks to all - this was just a problem with hInstance - lamer is always lamerĀ :green2