Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DllRegisterServer
Message
 
À
14/08/2002 09:03:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00689511
Message ID:
00689512
Vues:
23
Not all DLLs need to be registered. Are you sure this is a DLL that needs to be registered?

>Hi all,
>
>I am trying to register a .dll on a Win2000 system that has full admin rights. I use 'GetSystemDirectory' to get the correct place to put the .dll. I am able to copy the "vfpodbc.dll" into the correct place but I can't seem to register it. Here is the code I am using. This works great for all '.OCX' files.
>
>lcRegFile = lcWindowsSysDir + "vfpodbc.dll"
>DECLARE INTEGER DllRegisterServer IN (lcRegFile)
>llsuccess = (DllRegisterServer() = 0) && This is where it crashes.
>
>The error I get is # 1754
>"Cannot Find Entry Point DllRegisterServer in DLL"
>
>VFP 6 SP5
>
>TIA
>Mike
Hector Correa
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform