- Timestamp:
- Oct 14, 1999, 11:58:10 AM (26 years ago)
- Location:
- trunk/src/kernel32
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/winexepeldr.cpp
r1097 r1284 1 /* $Id: winexepeldr.cpp,v 1. 2 1999-10-01 10:15:50sandervl Exp $ */1 /* $Id: winexepeldr.cpp,v 1.3 1999-10-14 09:57:34 sandervl Exp $ */ 2 2 3 3 /* … … 72 72 } 73 73 OS2UnsetExceptionHandler(&exceptFrame); 74 if(WinExe->isConsoleApp()) { 75 dprintf(("Console application!\n")); 76 77 APIRET rc = iConsoleInit(); /* initialize console subsystem */ 78 if (rc != NO_ERROR) /* check for errors */ 79 dprintf(("KERNEL32:Win32Image:Init ConsoleInit failed with %u.\n", rc)); 80 } 81 74 82 WinExe->start(); 75 83 … … 85 93 Win32PeLdrImage(szFileName) 86 94 { 87 fConsoleApp = (oh.Subsystem == IMAGE_SUBSYSTEM_WINDOWS_CUI);88 89 95 dprintf(("Win32PeLdrExe ctor: %s", szFileName)); 90 91 if(fConsoleApp) {92 dprintf(("Console application!\n"));93 94 APIRET rc = iConsoleInit(); /* initialize console subsystem */95 if (rc != NO_ERROR) /* check for errors */96 dprintf(("KERNEL32:Win32Image:Init ConsoleInit failed with %u.\n", rc));97 }98 96 } 99 97 //****************************************************************************** … … 104 102 //****************************************************************************** 105 103 //****************************************************************************** 104 BOOL Win32PeLdrExe::init(ULONG reservedMem) 105 { 106 BOOL rc; 107 108 rc = Win32PeLdrImage::init(reservedMem); 109 fConsoleApp = (oh.Subsystem == IMAGE_SUBSYSTEM_WINDOWS_CUI); 110 return rc; 111 } 112 //****************************************************************************** 113 //****************************************************************************** -
trunk/src/kernel32/winimagepeldr.cpp
r1280 r1284 1 /* $Id: winimagepeldr.cpp,v 1. 6 1999-10-14 09:21:42sandervl Exp $ */1 /* $Id: winimagepeldr.cpp,v 1.7 1999-10-14 09:57:35 sandervl Exp $ */ 2 2 3 3 /* … … 168 168 fout << "SizeOfHeapCommit : " << oh.SizeOfHeapCommit << endl; 169 169 fout << "FileAlignment : " << oh.FileAlignment << endl; 170 fout << "Subsystem : " << oh.Subsystem << endl; 170 171 171 172 nSections = NR_SECTIONS(win32file); -
trunk/src/kernel32/wprocess.cpp
r1280 r1284 1 /* $Id: wprocess.cpp,v 1.3 7 1999-10-14 09:21:43sandervl Exp $ */1 /* $Id: wprocess.cpp,v 1.38 1999-10-14 09:57:38 sandervl Exp $ */ 2 2 3 3 /* … … 209 209 //we don't switch FS selectors 210 210 if(fIsOS2Image) { 211 return ;211 return GetFS(); 212 212 } 213 213
Note:
See TracChangeset
for help on using the changeset viewer.