CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Apr 1999
    Posts
    5

    Close dos-window under Win95/98



    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 :-(

  2. #2
    Join Date
    Apr 1999
    Posts
    8

    Re: Close dos-window under Win95/98



    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured