What does the exit code of the MFC test runner mean? When I close the test runner by clicking with the mouse on Close the exit code is 0. When I use the key combination Alt+C the error code is 99. When I use Alt+F4 the exit code is 61536. When I close the application using the mouse and pressing the X button in the upper right corner the error code is 20.
I looked in the source of MfcTestRunnerDlg.cpp. The code in OnQuitApplication sais: app->PostThreadMessage( WM_QUIT, 0, 0 ); This should lead to an exit code of 0. But this function is only called (as far as I can see) when I press Q.
The function OnClose (called when I press Alt+F4) calls OnOK (which is called when I press Close). In this function I can see no error code specified (as far as I can see).
I hope someone can answer this question...
Best regards,
Hensz
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi!
What does the exit code of the MFC test runner mean? When I close the test runner by clicking with the mouse on Close the exit code is 0. When I use the key combination Alt+C the error code is 99. When I use Alt+F4 the exit code is 61536. When I close the application using the mouse and pressing the X button in the upper right corner the error code is 20.
I looked in the source of MfcTestRunnerDlg.cpp. The code in OnQuitApplication sais: app->PostThreadMessage( WM_QUIT, 0, 0 ); This should lead to an exit code of 0. But this function is only called (as far as I can see) when I press Q.
The function OnClose (called when I press Alt+F4) calls OnOK (which is called when I press Close). In this function I can see no error code specified (as far as I can see).
I hope someone can answer this question...
Best regards,
Hensz