Jump to content
limelect

See content of a resource

Recommended Posts

I have resource as {$R ResourcePNG.RES}
It include png as RCDATA.No problem.
I know how to show all resources of a program by using
EnumResourceTypes(hinstance, @enumResTypesProc, Integer(mmo1.Lines))
How ever i would like to see ONLY the ResourcePNG.RES content.
I suspect i have to have the handle of ResourcePNG.RES
instead hinstance ? am i correct and how to do it?

 

I do NOT WANT TO LOAD A FILE while running.

Share this post


Link to post

Not possible.

Only the resource ID, type and content is stored in the executable. In other words: After a resource has been linked into an application there's no way of knowing where it came from.

  • Like 1

Share this post


Link to post

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

×