Originally Posted by
Ken Fitlike
Could you please follow the advice given to you twice in this thread and post the results of that?
That is:
Is the returned value from LoadImage using the bitmap resource non-NULL?
If the returned value from LoadImage is NULL what does GetLastError tell you about why it is NULL.
Until you do this - or, if you have already tried this - until you post the results of this, there's just going to be a lot of pointless guessing.
If the return value from LoadImage is non-NULL then create a minimal, compilable example that replicates the problem and post or attach it. This, too, will better help us to help you.