Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining DLL information from inside
Message
From
22/02/1999 18:37:21
 
 
To
22/02/1999 18:30:45
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00190002
Message ID:
00190227
Views:
15
>>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?
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform