Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Retrieving information from DLL
Message
 
 
To
08/01/2001 15:06:33
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Miscellaneous
Thread ID:
00460761
Message ID:
00460858
Views:
14
>1) I need programatically see the list of functions that DLL file contains .

By doing so, I assume you actually want to use the function, which means you'll need to know the required parameters and data types. Unfortunately, I know of no way to get that information from the function table of a DLL. You can get the function names, but that won't do you much good. If all you need to do is check that a function exists, try using LoadLibrary() and GetProcAddress(). Q193573 demonstrates how to use these functions.

>2) I need to add programatically an icon (or image) to this DLL .

Take a look at UpdateResource() in the MSDN. I've never done this using VFP, but if I remember correctly, there shouldn't be any special needs of the requisite resource functions that would not allow this to work.
Mike Stewart
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform