Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
CallBack and VFPCOM
Message
De
18/07/1999 23:00:32
 
 
À
18/07/1999 22:18:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Contrôles ActiveX en VFP
Divers
Thread ID:
00242933
Message ID:
00242945
Vues:
20
>>Hi,
>>
>>I would like to know if VFPCOM does bind to the callback of an ActiveX object. At the moment, there is not much that can be done if I want to make use of the callback function of an ActiveX object. Thanks for you help.
>>
>
>No, VFPCOM can be used to bind events to VFP code, it does not provide a callback entrypoint within VFP. You'd have to write something like an .FLL or .DLL to wrap the call using another language like C++.
>
>If there's an event exposed by the control, you can bind VFP code using the BindEvents method of VFPCOM to tie a properly constructed VFP native class derived object to the ActiveX control.

My other question is, if VFP does not support callback from other Objects is it save to say that callbacks are not widely used or not recommended method of doing asynchronous exchange of messages between objects. I would think that callbacks are very usefull for slow or long process that would run in a server and notifty the client onces the job is done. Could someone enlighten me on this subject and what is MS stand on this. Thanks in advance.

Regrads,
Kueh.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform