General information
Category:
Windows API functions
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only