Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Window's User Events, Callbacks etc.
Message
From
07/01/2001 12:54:08
 
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00460314
Message ID:
00460327
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform