Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I find all functions inside DLL?
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00383738
Message ID:
00384291
Vues:
42
>If it's a COM DLL, use the OLE/COM Viewer. Use the View Typelib option from the File menu. The typelib can be kind of tricky to read, but it not only gives you the function names, it gives you the parameters and datatypes as well.
>
>You could also use the Typelib Information DLL, but it's a bit more work. Randy Brown's MSMQ article has an example of how to use this (http://msdn.microsoft.com/library/default.asp?URL=/library/techart/msmqwvfp6.htm). You have to do some coding, but once you're done, you'll have a handy utility you can use again.

A lot of third-party DLLs (especially printing) are not COM DLLs but function libraries. The OLE Viewer and TLBINF32.DLL won't work on these.

The only other problem (although not really a problem) with these types of utilities is they are geared towards C++ developers and not necessarily VFP. Properties are described as methods. If the property is read-only, there is one method for it (Get); if the property is read-write there are two methods (Get, Put). While not hard to understand, it is different than what some VFPers are to.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform