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!

I solve problem with use COM object on another computer

Status
Not open for further replies.

alexsubscriber

Technical User
Sep 9, 2003
12
0
0
MD
Let's have 2 computers
ComputerA - installed Visual Fox Pro 6.0
ComputerB

Task.
Create dll on
ComputerA and use this dll on
ComputerB

Solution:
on ComputerA we MUST do next steps:
1.Install VisualStudio ServicePack 3 or higher
2.Install Setup Factory 6.0 - suf60ev.exe
3.Install Visual FoxPro6.0 Service Pack 5.0 -
visualfoxpro6sp5_rts.exe
4. ATTENTION! In Visual FoxPro 6.0 create dll as SINGLE THREADED COM SERVER (dll) -
(If you create dll as simple COM dll, after this dll can't work)

after this previous steps on ComputerA we have myCOM.dll (SINGLE THREADED COM SERVER)

On ComputerB registrate myCOM.dll. To do this follow this steps on ComputerB:
1.Copy myCOM.dll to any folder, e.g. \myFolder2.Copy VFP6R.DLL , VFP6RENU.DLL files to folder \myFolderFiles VFP6R.DLL , VFP6RENU.DLL we can get from folder where you we installed Visual FoxPro6.0 Service Pack 5.0 on ComputerA
2.Registrate myCOM.dll , e.g.
regsvr32 c:\myFolder\myCOM.dll

Now we can use myCOM.dll on ComputerB

Enjoj :)
Thank you


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top