in reply to Re^2: break thread with system(...) call
in thread break thread with system(...) call

Contrary to what you said, (3) will work with CreateProcess. Remember that it's a shell command, so launch cmd.exe to execute the command. system uses CreateProcess, so anything system can do, so can CreateProcess.

Replies are listed 'Best First'.
Re^4: break thread with system(...) call
by aaaone (Initiate) on Jul 17, 2008 at 16:55 UTC
    zentara, your solution seems to look well, but really it doen't match all requests under windows..

    I've found solution, please look below if interesting)