Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Comm port controlled by MSCOMM
Message
From
25/07/2006 07:46:25
 
 
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01135440
Message ID:
01139621
Views:
17
Hi Viv,

>Sort of off thread, but I'm wondering if that is true. I'd expect a higher priority interupt to occur during the execution of a lower priority one - but not the reverse. Admittedly I'm thinking in terms of hardware interupts here but the same logic would surely need to be present in this scenario. The alternative would surely be chaos <g>. I also don't know which of the above would have the highest priority but I'd bet on the Comm event.
>

Maybe OT, but interesting ;-)

I think you'd be right. Whether VFP uses GetMessage or PeekMessage to process events, both prioritize according to the MSDN Library:

Sent messages
Posted messages
Input (hardware) messages and system internal events
Sent messages (again)
WM_PAINT messages
WM_TIMER messages

I'd say the timer loses. See also: http://support.microsoft.com/default.aspx?scid=kb;en-us;143303
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform