Changeset 21978 for trunk/src


Ignore:
Timestamp:
Feb 27, 2012, 6:50:08 PM (13 years ago)
Author:
dmik
Message:

imm32: Initialize kernel32 on DLL init.

IM32Init may trigger using of the shared memory through
the use of critical sections (in the debug version) so it
should be already initialized by that time.

This fixes loading of javac.exe which turns to import IMM32 before
KERNEL32.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/imm32/initterm.cpp

    r21976 r21978  
    4848ULONG SYSTEM DLL_InitImm32(ULONG hModule)
    4949{
     50    if (!InitializeKernel32())
     51        return -1;
     52
    5053    if (!IM32Init())
    5154       dprintf(("IM32Init failed"));
Note: See TracChangeset for help on using the changeset viewer.