Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Window's User Events, Callbacks etc.
Message
 
À
07/01/2001 12:54:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00460314
Message ID:
00460446
Vues:
15
>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.


So, now you are preempint my next question. Can I "reach out" to the VB app from VFP? And, forgive my ignorance - what is VFPCOM and how do I use it?

The dll has a bunch of functions that read trading data from our SE and transmits it to various (software) clients PB etc. we have an app in VFP that currently reads data through DDE which is very slow - so we want to upgrade it to this.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform