10-27-2011 02:55 AM
Hi,
I want to invoke the MessageBoxTimeoutA function from the user32.dll. With the attached code the popup window appears, and 2 seconds later the complete LabView will be down. What is the problem, the parameters?
MB
Solved! Go to Solution.
10-27-2011 04:07 AM
Strange, it works for me without any troubles (LabVIEW 2011/Windows 7).
Otherwise, its not good idea to use undocumented WinAPI function - MessageBoxTimeoutA officially not supported by Microsoft as far as I know.
Also check calling conventions - may be you have C. Shouls be stdcall (WinAPI). And show you code finally instead if gif screenshot.
Andrey.
10-27-2011 04:44 AM
It was the problem of the calling convention. I have to use standard (WINAPI), instead of C.