Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help with MessageBoxIndirect API
Message
From
21/11/2005 17:38:26
 
 
To
21/11/2005 14:56:31
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01070654
Message ID:
01070972
Views:
33
>
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform