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

Click here to load this message in the networking platform