Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Capture Windows Messages sent from a API to VFP. HELP!
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00466118
Message ID:
00466843
Views:
9
Hi Ed,

>The approach of constantly polling with PeekMessage() is one I hadn't thought of; it'd eat VFP's performance doing it, and couldn't be used in conjunction with any operation that executed as an atomic statement in VFP.

It sure is not the best solution I can think of, but it would be pure VFP.

>I remember you writing an FLL at one point that dealt with either this issue or the issue of using some of the enumeration functions that required a callback and required parallel execution with VFP code; do you have a pointer to that lying about?

I posted some code on the Wiki to create an FLL that implements a callback for Windows timers. It's nothing special, every other FLL I've seen so far is doing the same and there is at least one here in the library.

http://fox.wikis.com/wc.dll?Wiki~CallbacksAndEvents~WIN_COM_DNA

Christof
--
Christof
Previous
Reply
Map
View

Click here to load this message in the networking platform