Changeset 1471 for trunk/dll/init.c
- Timestamp:
- Oct 14, 2009, 1:43:04 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/init.c
r1452 r1471 78 78 14 Mar 09 GKY PCSZ strings moved to compile time initialization 79 79 14 Mar 09 GKY Prevent execution of UM_SHOWME while drive scan is occuring replaces check for 80 80 saved drive containers. 81 81 06 Jun 09 GKY Add option to show file system type or drive label in tree 82 82 28 Jun 09 GKY Added AddBackslashToPath() to remove repeatative code. … … 85 85 22 Jul 09 GKY Fix failure to restore the notebook setting for saving container states or not 86 86 12 Sep 09 GKY Change protectonly check to check for VKBD being loaded instead of starting 87 88 87 command.com. Prevents hang (at least until a Dos program is started) on a system 88 that has a broken MDOS install. 89 89 90 90 ***********************************************************************/ … … 117 117 #include "cmdline.h" // Data declaration(s) 118 118 #include "fm2cmd.h" // Data declaration(s) 119 #include "printer.h" 120 #include "flesh.h" 121 #include "worker.h" 122 #include "filldir.h" 123 #include "defview.h" 124 #include "draglist.h" 119 #include "printer.h" // Data declaration(s) 120 #include "flesh.h" // Data declaration(s) 121 #include "worker.h" // Data declaration(s) 122 #include "filldir.h" // Data declaration(s) 123 #include "defview.h" // Data declaration(s) 124 #include "draglist.h" // Data declaration(s) 125 125 #include "fm3dlg.h" 126 126 #include "datamin.h" … … 128 128 #include "fm3str.h" 129 129 #include "version.h" 130 #include "pathutil.h" 131 #include "arccnrs.h" 132 #include "errutil.h" 133 #include "strutil.h" 134 #include "valid.h" 135 #include "autoview.h" 130 #include "pathutil.h" // BldFullPathName 131 #include "arccnrs.h" // ArcClientWndProc 132 #include "errutil.h" // Dos_Error... 133 #include "strutil.h" // GetPString 134 #include "valid.h" // ArgDriveFlags 135 #include "autoview.h" // AutoViewProc 136 136 #include "mainwnd.h" // BubbleProc, ChildButtonProc, DriveBackProc, 137 137 // DriveProc, LEDProc, MainWndProc, StatusProc … … 1097 1097 if (DosCreateMutexSem(NULL, &hmtxFM2Delete, 0L, FALSE)) 1098 1098 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1099 1099 PCSZ_DOSCREATEMUTEXSEM); 1100 1100 if (DosCreateMutexSem(NULL, &hmtFillingTreeCnr, 0L, FALSE)) 1101 1101 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1102 1102 PCSZ_DOSCREATEMUTEXSEM); 1103 1103 if (DosCreateEventSem(NULL, &hevInitialCnrScanComplete, 0L, FALSE)) 1104 1104 Dos_Error(MB_CANCEL, rc, HWND_DESKTOP, pszSrcFile, __LINE__, 1105 1105 PCSZ_DOSCREATEEVENTSEM); 1106 1106 1107 1107 /* … … 1181 1181 rc = DosQueryModuleHandle("VKBD", &hmod); 1182 1182 if (rc != NO_ERROR) { 1183 1184 1183 fProtectOnly = TRUE; 1184 DbgMsg(pszSrcFile, __LINE__, "DosQModuleHandle VKBD returned %d fProtectOnly=%d", rc, fProtectOnly); 1185 1185 } 1186 1186 else { 1187 rc = DosQueryModuleHandle("VMOUSE", &hmod); 1188 if (rc != NO_ERROR) 1189 fProtectOnly = TRUE; 1190 DbgMsg(pszSrcFile, __LINE__, "DosQModuleHandle VMOUSE returned %d fProtectOnly=%d", rc, fProtectOnly); 1187 rc = DosQueryModuleHandle("VMOUSE", &hmod); 1188 if (rc != NO_ERROR) { 1189 fProtectOnly = TRUE; 1190 DbgMsg(pszSrcFile, __LINE__, "DosQModuleHandle VMOUSE returned %d fProtectOnly=%d", rc, fProtectOnly); 1191 } 1191 1192 } 1192 1193 } … … 1343 1344 PrfQueryProfileData(fmprof, appname, "ShowEnv", &fShowEnv, &size); 1344 1345 PrfQueryProfileString(fmprof, appname, "TreeEnvVarList", "PATH;DPATH;LIBPATH;HELP;BOOKSHELF;", 1345 1346 pszTreeEnvVarList, MaxComLineStrg); 1346 1347 size = sizeof(BOOL); 1347 1348 PrfQueryProfileData(fmprof, FM3Str, "ShowDriveOnly", &fShowDriveOnly, &size); … … 1408 1409 size = sizeof(BOOL); 1409 1410 PrfQueryProfileData(fmprof, appname, "ConfirmDelete", &fConfirmDelete, &size); 1410 size = sizeof(BOOL); 1411 size = sizeof(BOOL); 1411 1412 PrfQueryProfileData(fmprof, FM3Str, "SaveState", &fSaveState, &size); 1412 1413 size = sizeof(BOOL);
Note:
See TracChangeset
for help on using the changeset viewer.