Changeset 1720 for trunk/src/kernel32/winexepeldr.cpp
- Timestamp:
- Nov 13, 1999, 4:41:11 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winexepeldr.cpp
r1284 r1720 1 /* $Id: winexepeldr.cpp,v 1. 3 1999-10-14 09:57:34sandervl Exp $ */1 /* $Id: winexepeldr.cpp,v 1.4 1999-11-13 15:41:10 sandervl Exp $ */ 2 2 3 3 /* … … 34 34 35 35 #include "cio.h" 36 #include "oslibmisc.h" 37 38 extern char szErrorTitle[]; 39 extern char szErrorModule[]; 36 40 37 41 //****************************************************************************** … … 68 72 OS2SetExceptionHandler(&exceptFrame); 69 73 if(WinExe->init(reservedMem) == FALSE) { 74 if(szErrorModule[0] != 0) { 75 char szErrorMsg[128]; 76 77 sprintf(szErrorMsg, "Can't execute %s due to bad or missing %s", OSLibStripPath(szFileName), szErrorModule); 78 WinMessageBox(HWND_DESKTOP, HWND_DESKTOP, szErrorMsg, szErrorTitle, 0, MB_OK | MB_ERROR | MB_MOVEABLE); 79 } 70 80 delete WinExe; 71 81 return FALSE;
Note:
See TracChangeset
for help on using the changeset viewer.