Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DllRegisterServer
Message
De
14/08/2002 09:03:09
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
DllRegisterServer
Divers
Thread ID:
00689511
Message ID:
00689511
Vues:
64
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform