Changeset 1447 for trunk/dll/errutil.c
- Timestamp:
- Jul 23, 2009, 11:16:05 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dll/errutil.c
r1402 r1447 33 33 07 Feb 09 GKY Allow user to turn off alert and/or error beeps in settings notebook. 34 34 08 Mar 09 GKY Remove Dos_Error2 (unused) and Runtime_Error2 (no advantage over using Runtime_Error) 35 23 Jul 09 GKY Bypass DosGetMessage for HIMEM builds (it traps) 35 36 36 37 ***********************************************************************/ … … 120 121 ULONG action; // Error action 121 122 ULONG Locus; // Error location 123 #ifndef HIMEM 122 124 ULONG ulMsgLen; 123 125 CHAR *pszMsgStart; 124 126 CHAR *psz; 127 #endif 125 128 va_list va; 126 129 … … 153 156 GetPString(IDS_ERRCLASS1TEXT + (Class - 1)), 154 157 GetPString(IDS_ERRACTION1TEXT + (action - 1)), 155 GetPString(IDS_ERRLOCUS1TEXT + (Locus - 1))); 158 GetPString(IDS_ERRLOCUS1TEXT + (Locus - 1))); 159 #ifndef HIMEM 156 160 pszMsgStart = szMsg + strlen(szMsg) + 1; 157 161 // Get message leaving space for NL separator 158 if (!DosGetMessage 159 (NULL, 0L, (PCHAR) pszMsgStart + 1, 1024, ulRC, "OSO001.MSG", &ulMsgLen) 162 if (!DosGetMessage(NULL, 0L, (PCHAR) pszMsgStart + 1, 1024, ulRC, "OSO001.MSG", &ulMsgLen) 160 163 || !DosGetMessage(NULL, 0L, (PCHAR) pszMsgStart + 1, 1024, ulRC, 161 164 "OSO001H.MSG", &ulMsgLen)) { … … 185 188 } 186 189 } 190 #endif 187 191 188 192 return showMsg(mb_type | MB_ICONEXCLAMATION, hwndOwner, GetPString(IDS_DOSERR2TEXT),
Note:
See TracChangeset
for help on using the changeset viewer.