Changeset 1335 for trunk/dll/collect.c
- Timestamp:
- Dec 13, 2008, 12:49:02 AM (17 years ago)
- File:
-
- 1 edited
-
trunk/dll/collect.c (modified) (11 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/collect.c
r1221 r1335 1 1 2 /*********************************************************************** 2 3 … … 52 53 DIRCNRDATA struct) into a new struct: DETAILS_SETTINGS. 53 54 20 Jul 08 GKY Add save/append filename to clipboard. 54 Change menu wording to make these easier to find55 Change menu wording to make these easier to find 55 56 25 Aug 08 GKY Check TMP directory space warn if lee than 5 MiB prevent archiver from opening if 56 less than 10 KiB (It hangs and can't be closed) 57 less than 10 KiB (It hangs and can't be closed) 58 10 Dec 08 SHL Integrate exception handler support 57 59 58 60 ***********************************************************************/ … … 63 65 #include <share.h> 64 66 #include <limits.h> 65 #include <process.h> // _beginthread67 // #include <process.h> // _beginthread 66 68 67 69 #define INCL_DOS // QSV_MS_COUNT … … 87 89 #include "notebook.h" // CfgDlgProc 88 90 #include "command.h" // RunCommand 89 #include "worker.h" // Action, MassAction90 #include "notify.h" // AddNote91 #include "misc.h" // AdjustCnrColsForPref, AdjustDetailsSwitches, CnrDirectEdit,91 #include "worker.h" // Action, MassAction 92 #include "notify.h" // AddNote 93 #include "misc.h" // AdjustCnrColsForPref, AdjustDetailsSwitches, CnrDirectEdit, 92 94 // LoadDetailsSwitches, OpenEdit, QuickPopup, SayFilter 93 95 // SaySort, SayView, SetCnrCols, SetDetailsSwitches … … 97 99 #include "collect.h" 98 100 #include "common.h" // CommonCnrProc, CommonCreateTextChildren, CommonFrameWndProc 99 // CommonTextPaint101 // CommonTextPaint 100 102 #include "select.h" // DeselectAll, HideAll, RemoveAll, SelectAll, SelectList 101 103 #include "dirsize.h" // DirSizeProc … … 128 130 #include "wrappers.h" // xDosFindFirst 129 131 #include "fortify.h" 132 #include "excputil.h" // xbeginthread 130 133 131 134 // Data definitions … … 981 984 wk->li = (LISTINFO *) mp1; 982 985 strcpy(wk->directory, dcd->directory); 983 if (_beginthread(MassAction, NULL, 122880, (PVOID) wk) == -1) { 984 Runtime_Error(pszSrcFile, __LINE__, 985 GetPString(IDS_COULDNTSTARTTHREADTEXT)); 986 if (xbeginthread(MassAction, 987 122880, 988 wk, 989 pszSrcFile, 990 __LINE__) == -1) 991 { 986 992 free(wk); 987 993 FreeListInfo((LISTINFO *) mp1); … … 1018 1024 wk->li = (LISTINFO *) mp1; 1019 1025 strcpy(wk->directory, dcd->directory); 1020 if (_beginthread(Action, NULL, 122880, (PVOID) wk) == -1) { 1021 Runtime_Error(pszSrcFile, __LINE__, 1022 GetPString(IDS_COULDNTSTARTTHREADTEXT)); 1026 if (xbeginthread(Action, 1027 122880, 1028 wk, 1029 pszSrcFile, 1030 __LINE__) == -1) 1031 { 1023 1032 free(wk); 1024 1033 FreeListInfo((LISTINFO *) mp1); … … 1452 1461 MPFROMLONG(CMA_XVERTSPLITBAR)); 1453 1462 1454 if (_beginthread(MakeObjWin, NULL, 245760, (PVOID)dcd) == -1) { 1463 if (xbeginthread(MakeObjWin, 1464 245760, 1465 dcd, 1466 pszSrcFile, 1467 __LINE__) == -1) 1468 { 1455 1469 Runtime_Error(pszSrcFile, __LINE__, 1456 1470 GetPString(IDS_COULDNTSTARTTHREADTEXT)); … … 1495 1509 OpenDirCnr(HWND_DESKTOP, hwndMain, dcd->hwndFrame, FALSE, (PSZ) mp1); 1496 1510 else if (mp1 && IsFile(mp1) == 1 && 1497 CheckDriveSpaceAvail(ArcTempRoot, ullDATFileSpaceNeeded, ullTmpSpaceNeeded) != 2)1511 CheckDriveSpaceAvail(ArcTempRoot, ullDATFileSpaceNeeded, ullTmpSpaceNeeded) != 2) 1498 1512 StartArcCnr(HWND_DESKTOP, 1499 1513 dcd->hwndFrame, (CHAR *)mp1, 4, (ARC_TYPE *) mp2); … … 2196 2210 switch (SHORT1FROMMP(mp1)) { 2197 2211 case IDM_DOITYOURSELF: 2198 case IDM_APPENDTOCLIP:2199 case IDM_APPENDTOCLIPFILENAME:2212 case IDM_APPENDTOCLIP: 2213 case IDM_APPENDTOCLIPFILENAME: 2200 2214 case IDM_SAVETOCLIP: 2201 case IDM_SAVETOCLIPFILENAME:2215 case IDM_SAVETOCLIPFILENAME: 2202 2216 case IDM_ARCHIVE: 2203 2217 case IDM_ARCHIVEM:
Note:
See TracChangeset
for help on using the changeset viewer.
