Click to See Complete Forum and Search --> : Close dos-window under Win95/98


Peter Lundqvist
April 1st, 1999, 02:05 AM
Does anyone know, with MFC or WinAPI, how to close the dos window in win95/98

after an operation has finnished? It's important for me to know when

the process has finnished (dos window closes). Under WinNT the dos-window

closes itself after the tasked has finnished, but under Win95/98

the dos-window is wating for user to close it :-(

Michel Wassink
April 1st, 1999, 08:03 AM
I have the same problem. The default behaviour is different for NT and 9x

When in 9x the app is waiting for dos prompt to close you must change the properties of that prompt to 'close window at exit'. This is not an option for createprocess or other function. The next time it will close the window because it reads the pif-file in the directory. It it thus only set for a specific directory. For NT it default closes the box(Greetings to Microsoft).


So if you find a way let me know.


,,,^..^,,,

Michel