Hi,
Alexandre wrote:
>Message waiting functions only return for new input. You need to make
>sure the queue is empty before waiting.
Actually, now that I believe I understand the issue, I'd rephrase it
differently: The queue need not be empty (a message might have
arrived 1 microsecond before the
writes:
> hopefully somebody familiar with messaging can immediately spot what's wrong
> with the code below.
>
> The winmm/midi tests currently in git, using PeekMsg, show that the messages
> (from CALLBACK_WINDOW) are almost always immediately available.
>
> Yet the code below, based on MsgWait
Hi,
hopefully somebody familiar with messaging can immediately spot what's wrong
with the code below.
The winmm/midi tests currently in git, using PeekMsg, show that the messages
(from CALLBACK_WINDOW) are almost always immediately available.
Yet the code below, based on MsgWaitFor... times out