Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
The best method to register a DLL
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
00917921
Message ID:
00918241
Vues:
13
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform