- Timestamp:
- 08/14/11 19:58:17 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MFCtooling/replay/LogParser.cpp
r154 r159 43 43 44 44 //divide runCommand into path to executable and parameters 45 wchar_t *pdest = _tcschr(runCommand, ' ');45 /*wchar_t *pdest = _tcschr(runCommand, ' '); 46 46 int positionSpace = (int)(pdest - runCommand + 1); 47 47 _TCHAR *executable = new _TCHAR[512]; 48 48 for(int i=0; i<positionSpace; i++) executable[i] = runCommand[i]; 49 executable[positionSpace] = '\0'; 50 51 CreateProcess(executable, L" c:\\programme\\mahr\\marwin\\commands/pause.dll", NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);52 //CreateProcess(NULL, runCommand, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi);49 executable[positionSpace] = '\0';*/ 50 51 //CreateProcess(executable, L" c:\\programme\\mahr\\marwin\\commands/pause.dll", NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); 52 CreateProcess(NULL, runCommand, NULL, NULL, FALSE, 0, NULL, NULL, &si, &pi); 53 53 hProcess = pi.hProcess; 54 54 CloseHandle(pi.hThread);
Note: See TracChangeset
for help on using the changeset viewer.