Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window's User Events, Callbacks etc.
Message
De
07/01/2001 12:54:08
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00460314
Message ID:
00460327
Vues:
10
Hey GT,

But you can "two-step boogie" if you have to can't you? You can wrapper the DLL in a VB component that raises events as appropriate and then use VFPCOM to bind a VFP app to these events. Also, maybe, there are things going on in that VB code that may be unnecessary to what Eylon is trying to do? I think the answer to the original question requires more information about the DLL and how it operates.

>Simply put the answer is you can't do this in VFP. On the most basic level the reason is that there's no way to pass the address of the callback function (as you can do with VB via the AddressOf operator). Further, VFP's handling of messages is decidedly non standard. Sorry.
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform