Execute Program without waiting for termination
-
I need to execute 2 programs from within a program I am writing. I tried system() and winexec(). It would execute the first program and stop. It wouldn't execute the second program till I closed the first program.
-
I need to execute 2 programs from within a program I am writing. I tried system() and winexec(). It would execute the first program and stop. It wouldn't execute the second program till I closed the first program.
i think u have to use threads.but i am not good at threads.sorry
-
I need to execute 2 programs from within a program I am writing. I tried system() and winexec(). It would execute the first program and stop. It wouldn't execute the second program till I closed the first program.
Try
CreateProcess()
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
Try
CreateProcess()
Ryan
"Punctuality is only a virtue for those who aren't smart enough to think of good excuses for being late" John Nichol "Point Of Impact"
-
I need to execute 2 programs from within a program I am writing. I tried system() and winexec(). It would execute the first program and stop. It wouldn't execute the second program till I closed the first program.
Why not simple ::SellExecute()? Try this...
::ShellExecute(NULL, _T("open"), _T("c:\\windows\\notepad.exe"), _T(""), _T(""), SW_SHOW);
Hope this helps. - tareq
-
Why not simple ::SellExecute()? Try this...
::ShellExecute(NULL, _T("open"), _T("c:\\windows\\notepad.exe"), _T(""), _T(""), SW_SHOW);
Hope this helps. - tareq
Thanks tareq, worked perfectly.