none
handle to the window created by createprocess RRS feed

  • Question

  •  I have used createProcess to run a process in a new window using CREATE_NEW_CONSOLE flag,
    Can any one help to get the handle to the console that i have created so as to close that window.

    code:
    CreateProcess(_T("file://\\windows\\ceplayer.exe"), NULL, NULL, FALSE, CREATE_NEW_CONSOLE, NULL, NULL, NULL, &processInfo);

    Thanks in Advance
     
     

    Friday, February 27, 2009 7:11 AM