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

Writing COM with C# for visual foxpro

Status
Not open for further replies.

markftwain

Technical User
Jul 12, 2006
108
Hi experts,

This is my first jump into C# (visual studio 2008) from a vfp background. I am trying to expose the methods of the inkAnalyzer to my main vfp program by encapsulating it in a COM object. I have created a windows form in C# that successfully uses the inkOverlay and inkAnalyzer, but I would like to use the main vfp form for ink collection. That is I need to pass the vfp form (object) to COM where the inkAnalyzer can work and return the results back to vfp.

The main errors I get involve "the interface is not supported" or ISynchronizeInvoke is needed.

Any help is much appreciated.
 
We've discussed this before. Have you tried the Forms Interop Toolkit? Have you heard anything said about you can't pass a VFP form to .NET? What is the specific data that is being passed between the two forms?

Craig Berntson
MCSD, Visual C# MVP,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top