Changeset 1077 for trunk/dll/killproc.c
- Timestamp:
- Jul 18, 2008, 8:11:54 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/killproc.c
r1075 r1077 38 38 #include "errutil.h" // Dos_Error... 39 39 #include "strutil.h" // GetPString 40 #include "pathutil.h" 40 #include "pathutil.h" // BldFullPathName 41 41 #include "fm3dll.h" 42 42 #include "fortify.h" … … 113 113 if (!stricmp(pmi->szModName, "SYSINIT")) 114 114 GetDosPgmName(ppi->pid, s + strlen(s)); 115 115 else { 116 116 if (*pmi->szModName) 117 117 strcat(s, pmi->szModName); 118 118 else 119 119 strcat(s, GetPString(IDS_UNKNOWNPROCTEXT)); … … 182 182 if (!stricmp((CHAR *) pmi->pName, "SYSINIT")) 183 183 GetDosPgmName(ppi->pid, s + strlen(s)); 184 184 else { 185 185 if (*pmi->pName) 186 186 strcat(s, (CHAR *) pmi->pName); 187 187 else 188 188 strcat(s, GetPString(IDS_UNKNOWNPROCTEXT)); … … 197 197 } 198 198 } 199 ppi = (QSPREC *) (ppi->pThrdRec + ppi->cTCB); 199 ppi = (QSPREC *) (ppi->pThrdRec + ppi->cTCB); // 22 Jun 08 SHL fixme to know why this looks odd 200 200 } // while 201 201 } … … 254 254 DosDupHandle(fileno(fp), &oldstdout); 255 255 rc = runemf2(SEPARATE | INVISIBLE | FULLSCREEN | BACKGROUND | WAIT, 256 257 256 hwnd, pszSrcFile, __LINE__, NULL, NULL, 257 "%s", "PSTAT.EXE /C"); 258 258 oldstdout = fileno(stdout); 259 259 DosDupHandle(newstdout, &oldstdout); … … 363 363 PrfWriteProfileData(fmprof, 364 364 FM3Str, 365 365 "UseQProcStat", &fUseQProcStat, sizeof(BOOL)); 366 366 PostMsg(hwnd, WM_COMMAND, MPFROM2SHORT(KILL_RESCAN, 0), MPVOID); 367 367 if (WinQueryButtonCheckstate(hwnd, KILL_CHECKBOX)) { … … 437 437 DosSleep(100); // 05 Aug 07 GKY 250 438 438 else 439 439 WinDismissDlg(hwnd, 0); 440 440 } 441 441 else if (fUseQSysState) 442 442 if (_beginthread(FillKillListThread3, 443 443 NULL, 65536, (PVOID) & hwnd) != -1) 444 444 DosSleep(100);//05 Aug 07 GKY 250 445 445 else 446 446 WinDismissDlg(hwnd, 0); 447 447 else { 448 448 if (_beginthread(FillKillListThread, 449 449 NULL, 65536, (PVOID) & hwnd) != -1) 450 DosSleep(100); 450 DosSleep(100); // 05 Aug 07 GKY 250 451 451 else 452 452 WinDismissDlg(hwnd, 0);
Note:
See TracChangeset
for help on using the changeset viewer.