Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ExtractIcon or ExtractAssociatedIcon...
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00653833
Message ID:
00655767
Vues:
38
>>What is the proper function to retrieve an icon from an executable or DLL so I can load it into a ImageList with .ADD(,"Drive",LOADPICTURE("Drive.ico"))
>>?
>>
>>Thanks,
>
>Will,
>
>Actually, neither of these will do what you want. Both return a handle to the icon. The handle can be then used by an API function such as DrawIcon(). Unfortunately, the handle does not produce a physical file and there isn't an API call that can do this directly.

George,

I found a freeware program that extracts icons from executables and DLLs. It saves them as icon files. If it only had a COM interface.

http://monsternet.game-point.net/goodies/icon_digger_2000.htm

There must be a way to do this using a Windows API and possibly a C++ wrapper to save the handle to a file?
Heavy Metal Pedal - click with care
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform