Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Saving an Extracted ICON from DLL/EXE to a ICO file

Status
Not open for further replies.

tekmahcpp

Programmer
Jul 21, 2000
2
IN
<br>I am writing a utility to display the icon <br>present in a DLL/EXE files in a LISTBOX<br>is there any way to save the icon to a file <br>when just have&nbsp;&nbsp;Handle to hat icon(ExtractIcon <br>returns Handle to Icon)
 
Never tried it myself so this is just a reference to save you the search in MSDN<br>(which is probably the source of all knowledge).<br><br>1) if you want to SAVE your icon into dll/exe lookup UpdateResource API<br>2) to save into .ico file lookup IPicture::SaveAsFile - this is a COM API but there<br>&nbsp;&nbsp;&nbsp;are examples.<br>3) icons general info : lookup
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top