Delphi: how to read an image from a .res file, not an embedded resource

Does anyone know how to read an image from a .res file on disk using the Delphi program?

Please note that I ask you to read the image from the .res file on the disk, and not about investing resources in a Delphi application and read the resource file associated with the executable file.

I mean:

  • File name and path to the .res file on disk, open the .res file and decrypt it enough to ...
  • Find the image.
  • Upload image

not something like this:

{$R resfile.res}    

blablabla.LoadFromResourceName(HInstance, 'IMAGE_NAME');

Thanks for the extra help.

+3
source share
1 answer

XN ( Delphi) ( / , DLL, OCX ..). , !

+5

All Articles