Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Registering VFP dll's
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00543221
Message ID:
00545545
Views:
12
>I'm having a similar problem with a VFP7 dll under Win2k Server. Regedit shows that the copy of the runtime libraries that are registered are the ones in c:\program files\common files\microsoft shared\vfp. FWIW, I didn't put them there. I have tried putting the com server DLL in that directory but still get the message: "Load library myfile.dll failed. The specified module could not be found." There are copies of the runtime libraries in System32 also. Any ideas?

Lynda,

Sorry, no I don't. First, I've used the Setup Wizard in the past and used it to register the necessary run-time components. Second, in testing, I routinely register and un-register VFP in-process COM servers by accessing the two functions that are built into the servers. I don't know if this is helpful or not, but here's the code that I use.
* RegSvr.prg
LOCAL lcfile
lcfile = GETFILE('DLL')
IF NOT EMPTY(lcfile)
  DECLARE INTEGER DllRegisterServer IN (lcfile)
  ? DllRegisterServer()
ENDIF
RETURN

* UnRegSvr.prg

LOCAL lcfile
lcfile = GETFILE('DLL')
IF NOT EMPTY(lcfile)
  DECLARE INTEGER DllUnregisterServer IN (lcfile)
  ? DllUnregisterServer()
ENDIF
RETURN
If the file is successfully registered or un-registered, zero appears.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform