Sign in to follow this  

Cannot load an OEM resource

This topic is 4249 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

For some reason, when I call "LoadImage(NULL, MAKEINTRESOURCE(OCR_NORMAL), IMAGE_CURSOR, 0, 0, LR_DEFAULTCOLOR|LR_DEFAULTSIZE);" I get an error saying "error C2065: 'OCR_NORMAL' : undeclared identifier". I have included windows.h and I even tried to include winuser.h but I still get the error. I can't seem to figure out what's wrong so any help is appreciated. Juha

Share this post


Link to post
Share on other sites
Is OCR_NORMAL defined in winuser.h? And does it have any preprocessor blocks around it checking for e.g. the SDK version?

I don't have a compiler capable of building Win32 code here so I can't check...

Share this post


Link to post
Share on other sites

This topic is 4249 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this