[MLANG]
authorRafal Harabien <rafalh@reactos.org>
Thu, 15 Mar 2012 12:57:45 +0000 (12:57 +0000)
committerRafal Harabien <rafalh@reactos.org>
Thu, 15 Mar 2012 12:57:45 +0000 (12:57 +0000)
- Fix entrypoint and add startup code to fix registration of mlang classes. Fixes crashes and failures in inetcomm:mimeintl winetest and adds back many tests in mlang winetest

svn path=/trunk/; revision=56156

reactos/dll/win32/mlang/CMakeLists.txt

index 5e9bd53..c583e6a 100644 (file)
@@ -8,7 +8,6 @@ add_definitions(-D_WIN32_WINNT=0x600)
 
 include_directories(${REACTOS_SOURCE_DIR}/include/reactos/wine)
 
-set_rc_compiler()
 spec2def(mlang.dll mlang.spec ADD_IMPORTLIB)
 
 list(APPEND SOURCE
@@ -18,7 +17,7 @@ list(APPEND SOURCE
     ${CMAKE_CURRENT_BINARY_DIR}/mlang.def)
 
 add_library(mlang SHARED ${SOURCE})
-set_module_type(mlang win32dll ENTRYPOINT 0)
+set_module_type(mlang win32dll UNICODE)
 target_link_libraries(mlang uuid wine)
 add_delay_importlibs(mlang oleaut32)
 
@@ -27,6 +26,7 @@ add_importlibs(mlang
     user32
     gdi32
     advapi32
+       msvcrt
     kernel32
     ntdll)