Changeset 5666 for trunk/src/kernel32/wprocess.cpp
- Timestamp:
- May 7, 2001, 12:07:40 PM (24 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/wprocess.cpp
r5587 r5666 1 /* $Id: wprocess.cpp,v 1.1 19 2001-04-26 13:22:49 sandervlExp $ */1 /* $Id: wprocess.cpp,v 1.120 2001-05-07 10:07:40 phaller Exp $ */ 2 2 3 3 /* … … 1602 1602 return(TRUE); 1603 1603 } 1604 1605 // PH 2001-05-07 1606 // verify why O32_CreateProcess actually failed. 1607 // If GetLastError() == 191 (ERROR_INVALID_EXE_SIGNATURE) 1608 // we can continue to call "PE.EXE". 1609 // Note: Open32 does not translate ERROR_INVALID_EXE_SIGNATURE, 1610 // it is also valid in Win32. 1611 DWORD dwError = GetLastError(); 1612 if (ERROR_INVALID_EXE_SIGNATURE != dwError) 1613 { 1614 dprintf(("CreateProcess: O32_CreateProcess failed with rc=%d, not PE-executable !", 1615 dwError)); 1616 1617 // the current value of GetLastError() is still valid. 1618 1619 return FALSE; 1620 } 1621 1622 // else ... 1623 1604 1624 //probably a win32 exe, so run it in the pe loader 1605 1625 if(lpApplicationName) {
Note:
See TracChangeset
for help on using the changeset viewer.