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
From
23/12/2000 11:02:05
 
 
To
22/12/2000 20:07:01
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00456181
Message ID:
00456582
Views:
23
>>>What I need to know is if not called as above, HOW WILL THE COM SERVER KNOW WHICH METHOD TO CALL INTO THE CLIENT TO INTERRUPT IT, WHEN IT DOES RECEIVE A WEIGHT.
>>
>>It almost seems that two values would need to be returned. One would be a pointer to a method, and the other a weight value. There is another VFP guy called AutoYield - but you have probably already considered him.
>
>VFP doesn't support call backs, so a pointer to a method will not work. The closest thing to do what Bernard needs is a COM server that raises an event, and the VFP client can bind to that using VFPCOM.

I thank you both for your feedback. I did a search and found out exactly what I needed. I need to use VFPCOM.DLL an addon utility and use BINDEVENTS().

Thanks again

Bernard
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform