Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Retrieving information from DLL
Message
 
 
À
08/01/2001 15:06:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00460761
Message ID:
00460858
Vues:
12
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform