#include int main( int argc, char** argv ) { STARTUPINFO startInfo; PROCESS_INFORMATION processInfo; memset(&startInfo,0,sizeof(startInfo)); startInfo.cb = sizeof(startInfo); if(!CreateProcess(NULL,"c:\\flite.exe -t \"testing\"",NULL,NULL,false,HIGH_PRIORITY_CLASS|CREATE_NO_WINDOW,NULL,NULL,&startInfo,&processInfo)) { //cout << "error: "<< GetLastError() << endl; } CloseHandle(&processInfo.hThread); CloseHandle(&processInfo.hProcess); }