Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DllRegisterServer
Message
From
14/08/2002 09:03:09
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
DllRegisterServer
Miscellaneous
Thread ID:
00689511
Message ID:
00689511
Views:
63
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
Next
Reply
Map
View

Click here to load this message in the networking platform