Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
What is the simplest way to kill an MFC dialog based application?
alt+F4 works pretty well. *.* cin >> knowledge;
Find the handle of the window (FindWindow or EnumWindows work well), then send it a WM_CLOSE message. If this causes it to ask to save data, and you don't want that, use DestroyWindow instead, although this is very brutal.
FindWindow
EnumWindows
WM_CLOSE
DestroyWindow
PostQuitMessage(0);