Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Callback - AddressOf
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00643129
Message ID:
00643135
Vues:
15
>Hello!
>
>Do you know how to use a Callback function with VFP-Functions?
>In Visual Basic you have the "AdressOf" wich passes the Adress of the function you want to be Called.
>In Visual Fox Pro i have no adress for a function i want to pass.
>Do you have any ideas how to do this?

There's no equivalent in VFP. This is because VFP forms are significantly different in the way Windows messages are handled. All messages, even in Top-Level Forms, is handled through the main VFP window. Further, because of VFP's internal memory management, the address passed as the callback may be invalid by the time the callback returns.
George

Ubi caritas et amor, deus ibi est
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform