Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

Loading from resource in Visual studio

This topic is 6610 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

Hi I have done a program that loads some bmp files. Now I would like to add these files to the exe file. I understand that I need to use a resource file or something, well I tried and failed So if someone could tell me how to solve the problem I would be very happy

Share this post


Link to post
Share on other sites
Advertisement
it can still be done easily even w/o mfc. it''s a similar process. then you can just use LoadImage to load the bitmap resource just as you would from a file, just omit the LR_LOADFROMFILE flag.


crazy166
some people think i'm crazy, some people know it

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!