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

TIA,

Nitin
Nitin
Next
Reply
Map
View

Click here to load this message in the networking platform