Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Help with MessageBoxIndirect API
Message
De
21/11/2005 17:38:26
 
 
À
21/11/2005 14:56:31
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
01070654
Message ID:
01070972
Vues:
34
>
>you can put your icons into a resource only DLL compiled with Visual Studio (C++).
>
>just compile an empty DLL with a some icons in the resource file.
>then you can use the LoadLibrary API in VFP to load the DLL and get it's HINSTANCE.
>
>e.g
>DECLARE INTEGER LoadLibrary IN kernel32.dll STRING
>DECLARE INTEGER FreeLibrary IN kernel32.dll INTEGER
>hInstance = LoadLibray("yourresources.dll")
>&& ..
>FreeLibrary(hInstance)
>
>Regards
>Christian

Thank you very much Christian! I will try that and report back.

Carlos
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform