Changeset 5666
- Timestamp:
 - May 7, 2001, 12:07:40 PM (25 years ago)
 - Location:
 - trunk
 - Files:
 - 
      
- 2 edited
 
- 
          
  changelog (modified) (1 diff)
 - 
          
  src/kernel32/wprocess.cpp (modified) (2 diffs)
 
 
Legend:
- Unmodified
 - Added
 - Removed
 
- 
      
trunk/changelog
r5663 r5666 1 /* $Id: changelog,v 1.139 8 2001-05-07 08:23:24phaller Exp $ */1 /* $Id: changelog,v 1.1399 2001-05-07 10:07:29 phaller Exp $ */ 2 2 3 3 2001-05-07: Patrick Haller <patrick.haller@innotek.de> 4 4 - WS2_32: o created skeleton 5 5 - WS2HELP: o created skeleton 6 - KERNEL32: o CreateProcess error handling corrected, if 7 O32_CreateProcess fails with specific reason 6 8 7 9 2001-05-04: Dietrich Teickner <Dietrich_Teickner@t-online.de>  - 
      
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.
  