See
Visual FoxPro Callback Design in
Microsoft Visual FoxPro and Advanced COM at
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnfoxgen7/html/vfpandcom.asp?frame=true#vfpandcom_topic08>Is it possible to use EventHandler() with a COM .DLL created using VFP itself ? The EvenHandler always returns .F. when I use it with a COM .DLL that I have created in VFP.
>I am using VFP8 SP1. I have had a look at thread 934911, but it doesn't give me what I need.
>
>I want to use the DLL to communicate between 2 VFP EXEs. My idea is : The DLL would have 2 dummy methods. In each of the APPs, EVENTHANDLER() would be used to link an instance of the DLL with a VFP object. Then APP1's object will call DLL's Method2 which exists only in APP2's VFP object and is empty in APP1 itself. Thus only the APP2's method will do something.
>
>Any ideas ? I have short testing code that I can post here if anyone's interested.
--sb--