Ignore:
Timestamp:
Jun 23, 2011, 2:02:58 PM (14 years ago)
Author:
dmik
Message:

general: Exit gracefully instead of crashing if KERNEL32.DLL initialization fails. Note that "gracefully" means "silently" in this case since it seems that the only way how the OS/2 loader reports a failure to initialize a required DLL for a started EXE is by returning a non-zero exit code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/controls/initodinctrl.cpp

    r8543 r21649  
    6767         ParseLogStatusOdinCtrl();
    6868
    69          InitializeKernel32();
     69         if (InitializeKernel32() == 0)
     70             return 0;
     71
    7072         CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    7173         break;
    72      
     74
    7375      case 1 :
    7476         break;
Note: See TracChangeset for help on using the changeset viewer.