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_DNAChristof
--
Christof