RE: SOPROTOCOL - .activate function does not work after update
Hi Peter,
I can confirm this.
TFS: 70160
A.f.a.i.k. little or nothing has happened around that code for a long time.
I can think of no work-around.
The way it works:
A "MailslotEvent" is triggered on a seperate thread.
This is then converted into an Idle message via a thread-safe method.
(We can only invoke the protocol dispathcer from the main thread)
But for Idles to work, the event loop must run with PeekMessage.
At this stage it is blocking using GetMessage.
For some reason, unknown to me at this point, we have lost a Win32 API event that causes GetMessage to return.
As soon as you hover the mouse over the app, GetMessage will return and we get an oportunity to switch to PeekMessage for as long as the Idles queue is not empty.
R11 is planned for next week..
I am leaving in a few hours and will be off til friday next week.
So, I think it will have to be for R12.
/conrad