so as i mentioned here http://www.daniweb.com/forums/post840142.html i need to check if a process is responding by using sendmessage
however i have no idea how to get the hwnd because i start the process using system::diagnostics::process
process->StartInfo->WorkingDirectory=sinfo->workingDirectory; process->StartInfo->Arguments=" -exec "+sinfo->init+" -port "+sinfo->port+" "+sinfo->options; process->StartInfo->FileName = sinfo->exe; process->StartInfo->UseShellExecute=true;
so this program starts in a console, so does it not have a handle?
its a really weird program... a halo server, the program takes over the console window.... so is it possible to send it a message?
how do i get the hwnd from pid?
process->Mainwindowtitle and mainwindowhandle dont return anything
yea im confusing myself... understand?