• Advertisement

Archived

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

Finding the memory address where a resource file is in your program

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

With what API''s would i use to find the memory address at run-time where a certain resource file is like a bitmap and how to get that resource file size in memory.

Share this post


Link to post
Share on other sites
Advertisement
Not sure if this is exactly what you want, but it looks close:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/WinUI/WindowsUserInterface/Resources/IntroductiontoResources/UsingResources.asp#_win32_Updating_Resources

Share this post


Link to post
Share on other sites
To get the address of a resource all you need to do is call LockResource() on the handle returned by LoadResource().

Share this post


Link to post
Share on other sites

  • Advertisement