Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How does a COM server know which client Fn to call back
Message
 
To
21/12/2000 23:12:42
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00456181
Message ID:
00456888
Views:
24
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
Previous
Reply
Map
View

Click here to load this message in the networking platform