Author: tfaber
Date: Fri Nov 20 18:04:50 2015
New Revision: 69965
URL:
http://svn.reactos.org/svn/reactos?rev=69965&view=rev
Log:
[USER32]
- Keep an extra reference to user32 around while we're not using imm32
CORE-10540
Modified:
trunk/reactos/win32ss/user/user32/misc/dllmain.c
Modified: trunk/reactos/win32ss/user/user32/misc/dllmain.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/user32/misc/d…
==============================================================================
--- trunk/reactos/win32ss/user/user32/misc/dllmain.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/user32/misc/dllmain.c [iso-8859-1] Fri Nov 20 18:04:50
2015
@@ -526,7 +526,12 @@
if (!gfServerProcess)
{
- //InitializeImmEntryTable();
+#if WIN32K_ISNT_BROKEN
+ InitializeImmEntryTable();
+#else
+ /* imm32 takes a refcount and prevents us from unloading */
+ LoadLibraryW(L"user32");
+#endif
//
// Wine is stub and throws an exception so save this for real Imm32.dll
testing!!!!
//