4.13 Ending a Session

To terminate a CVW session, you can choose the Exit command from the File menu or type the q (Quit) command in the Command window.

You can also terminate your application without terminating CVW. While Windows is terminating the application, it notifies CVW. CVW then displays the following message:

Program terminated normally (0)

The value in parentheses is the return value of the WinMain function. This value is usually the wParam parameter of the WM_QUIT message, which in turn is the value of the nExitCode parameter passed to the PostQuitMessage function.

If you were debugging more than one application or DLL, you can press F5 to continue the debugging session.