>>Can you give me an example? One of the things I wanted to try was to see if there were any way that I can get an object reference in VC++ for a VFP object. Is that possible?
>
>What example - it doesn't work ...
>
>Not with plain C++. You can create COM objects or you can use the FoxPro
>API, but in neither case can you use 'plain' C++ objects.
>
>For a detailed article on calling COM objects from C++ and passing
>them to VFP as part of an object call see:
>
>
http://www.west-wind.com/articles.htm>
>Regards,
>
>+++ Rick ---
"If you want to use classes etc.
in VC++ you'll have to create wrapper functions that call the object and
then DECLARE those in VFP."
An example of in the quote above of creating a wrapper function that call the object and then DECLARE those in VFP.
Dan