Information générale
Catégorie:
Fonctions Windows API
>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement