Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Eventhandler between 2 VFP EXEs
Message
De
01/03/2005 21:18:49
Nitin Parulekar
New Zealand Software Corp Ltd
Hamilton, Nouvelle Zélande
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Eventhandler between 2 VFP EXEs
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
00991849
Message ID:
00991849
Vues:
65
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform