Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi All,

i am writing an application and the need is, add a image to the resource file and retrieve from resource file and save it to any location in my desktop.

Thanks in advance.
Posted

Have a look at this article XResFile - Files Stored in Resources: Part 1 - Text and Binary[^], in particular the bit about binary files.

Once you've loaded the image from the resource file, you have a binary buffer, which can then be written to disk using the standard File I/O functions
 
Share this answer
 
Thank You very much Graham. i will try this out.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900