Archived

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

Shooter

Saving icons (HICON) as file

Recommended Posts

Hi, is there any possibility to save an icon withing the system memory (HICON) as a ICO file? I''m using Visual C++ 6.0. Thanks! I don''''t need any signature ;-)

Share this post


Link to post
Share on other sites
Do you mean one that you''ve coded into memory or do you mean stripping them from system files? In the first case, there are code samples out on the web - Elicz''s and the microsoft ftp site. In the second case you need to find a resource extractor. Check out Resource Tuner from heaventools.com.

Share this post


Link to post
Share on other sites
Well, I mean that I''m loading the icon into memory using the function ExtractIconEx(). Now I''ve got an HICON which I want to save on hard disk as an ICO file.

I''ve found something in the Microsoft Platform SDK samples, but there are only some functions that save DIBs, BMPs or something like that. I''m looking for a function that saves HICONs.

I don''''t need any signature ;-)

Share this post


Link to post
Share on other sites