Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cannot locate Microsoft FoxPro support library

Status
Not open for further replies.

alexsubscriber

Technical User
Sep 9, 2003
12
0
0
MD
Hi!
In my machine I have Visual Fox Pro 6.0
I create COM object with Visual Fox Pro as dll.
As result I get 3 files:
1.MyCOM.dll
2.MyCOM.tlb
3.MyCOM.VBR

In my machnie I registrate MyCOM.dll with "regsvr32". OK!
After, I copy this 3 files to another machine (another machine has not Visual Fox Pro 6.0). And when I try to registrate (in another machine) MyCOM.dll with "regsvr32" I get next message:
"Cannot locate Microsoft Fox Pro support library"

What I must do to registrate MyCOM.dll in another machine?
Thank you
 
My guess is you need to register/install the VFp6 runtime files - As these are probably not compiled into your dll.

mrf
 
You need to put the runtime support files in either the windows system32 folder or the one your app is running from (system32 for preference)

The files I copy are:

VFP6R.DLL
VFP6RENU.DLL
VFP6RUN.EXE
VFP6T.DLL

Yours might vary slightly dependant on language considerations.

Good luck



Regards

Griff
Keep [Smile]ing
 
ok, but can Visual Fox Pro automatic add this fox pro dll-s to MyCOM.dll?
It's not very good to copy this fox pro dll-s in all machines when I want to registrate MyCOM.dll
 
alexsubscriber

ok, but can Visual Fox Pro automatic add this fox pro dll-s to MyCOM.dll?

Use the setup wizard to create a setup and include the runtime files and screen #2.


Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
 
after I add fox pro dlls, the message
"Cannot locate Microsoft Fox Pro support library" is not show. OK!
but, the method (checkTrezSubAccount) in COM
object not call. Why?
here is my visual fox pro 6.0 code:

DEFINE CLASS TrezSubAccount AS custom OLEPUBLIC

*FUNCTION checkTrezSubAccount
* PARAMETERS X1, X2, strTrezSubAccountDBFPath
* SET PATH TO (strTrezSubAccountDBFPath)
* RETURN getResult(X1, X2)
*ENDFUNC

FUNCTION checkTrezSubAccount
PARAMETERS X1, X2, strTrezSubAccountDBFPath

...

ENDFUNC && end function COD_TREZ
ENDDEFINE


the error message is somethink like:

Object name - 'TRBComObject'
Property name - 'checktrezsubaccount'
ERBOLEException: Unknown error with code: -2147319779.
DETAILS: EETOError : Result of executing elementary operation is negative. Executing terminated; MODULE='Sheduler'; SESSION='ShedulerOperation_1'

what is wrong?
thank you
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top