Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Obtaining DLL information from inside
Message
From
22/02/1999 12:00:15
 
 
To
22/02/1999 11:53:16
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00190002
Message ID:
00190008
Views:
20
>I have a class that I compile into a DLL. From inside the class, I want a method that will return the verion number of the DLL that was set at build time. Getting the version number is easy using AGETFILEVERSION(). But, how do I get the name of the DLL?

If you have the ProgID, you can spin through HKEY_CLASSES_ROOT\CLSID; the InProcServer32 registry entry's Default value, at the same level as the ProgID registry entry that matches your server, points to the .DLL that provides the service. If you find a LocalServer32 entry, that's a local, out-of-process server, and you should find the command line used to launch the associated automation server.
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