> I'd suggest you recieve the message and log it to a queue (a DBF),
> then return to waiting. Either with a separate process, or with a
> timer in the same, scan the queue, determine if there's more work to
> be done, do it, and remove the entry from the queue. That way, if
> someone drags a dozen files into the folder (or a hundred), VFP
> doesn't fall over.

What's wrong with the traditional timer-based file-detection approach?
I've very successfully implemented performance-critical complex apps
with this method and it's never been a problem. If you need a
responsive GUI for it, you can always put DOEVENTS in your loop...


-- 
Derek


_______________________________________________
Post Messages to: ProFox@leafe.com
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to