Thanks Nick, does this mean I can do something like:
oData = Createobject("Datalayer.Data")
If Type('oData') # "O"
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