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 Shaun E on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call Foxpro COM from Delphi?

Status
Not open for further replies.

TheExtreme

Programmer
Mar 31, 2005
2
US
I've got a simple COM server and client programs that work in Delphi. If I create the same COM server in Foxpro, it can be called just fine in Foxpro. However, when I call it in Delphi, I get a "No such interface" error. I don't understand why the server works fine in Foxpro, but not Delphi - isn't COM universal? Are Foxpro COM servers different somehow? Any ideas? Thanks!
 
Update: Using the "Import Type Library" utility in Delphi, I am able to correctly define the interface in Delphi and call my Foxpro COM. But - ONLY on the local machine. When accessing it on another machine, I get the error "Interface not supported". The interface is IDispatch based. Am I missing something?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top