Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How does a COM server know which client Fn to call back
Message
 
À
21/12/2000 23:12:42
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00456181
Message ID:
00456888
Vues:
25
VFP6 can only make COM calls synchronously.

VFP7 has "with events", but it's only in beta.

VB6 can do it.

You may want to look at the VFP web site http://msdn.microsoft.com/vfoxpro/default.asp for an article on BindEvents which can simulate this. Basically, you subscribe to an event of the EXE, then make a call. The call returns immediately (throw away the return value) and the COM EXE you called will raise an event when it has something for you. BindEvents will cause your VFP code to fire when that happens.

Mike
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform