Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Checking for DLL Registration Before Using CreateObject()
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Checking for DLL Registration Before Using CreateObject()
Miscellaneous
Thread ID:
00766669
Message ID:
00766669
Views:
50
Hello All,

We have a DLL that we're trying to instantiate using CreateObject() and the instantiation works fine if the DLL is registered on the machine. However, we need to check to see if the DLL is registered on the machine before doing the CreateObject() to prevent the runtime error that occurs if the DLL isn't registered.

Does anyone know how to check this using code? I could use the FILE() function to see if the DLL exists in the System folder, but it still wouldn't ensure that it's registered.

Thanks in advance,

Ben Holton
Next
Reply
Map
View

Click here to load this message in the networking platform