Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Obtaining DLL information from inside
Message
De
22/02/1999 18:42:17
 
 
À
22/02/1999 18:37:21
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00190002
Message ID:
00190229
Vues:
16
>>>If you don't know the ProgID, and don't know the name of the .DLL or .EXE used to implement the server, what piece of information will you have that will allow you to identify the server?
>>
>>Maybe I need to explain again what I want to do. I build a class in VFP and compile it as a DLL. On the build dialog I can set the version number for the DLL. In the class, I want to be able to get and return the version number of the DLL. This is easy with AGETFILEVERSION(). But, I have to know the full path and file name for the DLL, which I won't always know. So, from inside the class, how do I figure out what DLL it is in?
>
>Just a SWAG, but have you tried FULLPATH(SYS(16)) in the Init method of the class?

I get the VCX information from that, not the DLL.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform