Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eventhandler between 2 VFP EXEs
Message
 
 
To
01/03/2005 21:18:49
Nitin Parulekar
New Zealand Software Corp Ltd
Hamilton, New Zealand
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 8
Miscellaneous
Thread ID:
00991849
Message ID:
00991949
Views:
14
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--
Previous
Reply
Map
View

Click here to load this message in the networking platform