08-12-2014 05:45 AM
I have a code phase which call the Windows' API:
while (TRUE)
{
WaitForSingleObject(audioEventHandle, INFINITE);
...
}
Today , I find a problem: using the FileSelectPopup() to show a file select dialog, if do a right click mouse by careless, the execuating will jump into this while loop and block at the WaitForSingleObject(). I think there is a mouse right click event captured by the Windows system, I'd like to know is there any way to escape it?
David
08-19-2014 01:33 AM
The information you provided is still rather very little. Please also provide the context in which the two sequences are used. E.g.:
A code snippet which reproduces the problem would be very helpful.
Also, have you tried browsing through other forum posts, just in case somebody else asked a similar question? This might prove useful:
http://forums.ni.com/t5/forums/searchpage/tab/message?q=fileselectpopup
Regards!
- Johannes