The second part, yes. But winetest must have been made intowhy do you need a console ?
a console app, so it pops up a console when it starts.
either you don't care about the output to the console, or you do care but you've already redirected the output to a log file
so, passing DETACHED_PROCESS in CreateProcess (winetest/main.c) would be a good thing IMO
A+