Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The best method to register a DLL
Message
General information
Forum:
Visual FoxPro
Category:
Installation, Setup and Configuration
Miscellaneous
Thread ID:
00917921
Message ID:
00918241
Views:
14
Thanks Nick, does this mean I can do something like:
oData = Createobject("Datalayer.Data")
If Type('oData') # "O"  &&& Failed instantiation
  DllRegisterServer()
EndIf 
for example?

Enmanuel

>
>You could try to do it with DllRegisterServer() function.
>
>DECLARE INTEGER DllRegisterServer IN <full pathname of your DLL here>
>lnResult = DllRegisterServer()
>
>If it's successful it will return 0.
>DLL may also be unregistered with DllUnRegisterServer() function.
I'm a mixture of Albert Einstein and Arnold Schwarzenegger. The only trouble is that I got Einstein's body and Schwarzenegger's brain
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform