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/mscms/initmscms.cpp

    r21311 r21649  
    8888      case 0 :
    8989
    90          InitializeKernel32();
     90         if (InitializeKernel32() == 0)
     91             return 0;
     92
    9193         //CheckVersionFromHMOD(PE2LX_VERSION, hModule); /*PLF Wed  98-03-18 05:28:48*/
    9294         dllHandle = RegisterLxDll(hModule, OdinLibMain, NULL);
Note: See TracChangeset for help on using the changeset viewer.