https://git.reactos.org/?p=reactos.git;a=commitdiff;h=5efe6f00a91cffeb918fc…
commit 5efe6f00a91cffeb918fc7dcd77318b2a2abf392
Author: Eric Kohl <eric.kohl(a)reactos.org>
AuthorDate: Sat Dec 22 17:52:03 2018 +0100
Commit: Eric Kohl <eric.kohl(a)reactos.org>
CommitDate: Sat Dec 22 19:04:55 2018 +0100
[NETMSG] Fix message table include statement and build netmsg.dll.
---
dll/win32/CMakeLists.txt | 1 +
dll/win32/netmsg/CMakeLists.txt | 2 +-
dll/win32/netmsg/netmsg.rc | 2 +-
3 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dll/win32/CMakeLists.txt b/dll/win32/CMakeLists.txt
index 8f426f9532..a725979443 100644
--- a/dll/win32/CMakeLists.txt
+++ b/dll/win32/CMakeLists.txt
@@ -135,6 +135,7 @@ add_subdirectory(netapi32)
add_subdirectory(netcfgx)
add_subdirectory(netevent)
add_subdirectory(netid)
+add_subdirectory(netmsg)
add_subdirectory(newdev)
add_subdirectory(npptools)
add_subdirectory(ntdll_vista)
diff --git a/dll/win32/netmsg/CMakeLists.txt b/dll/win32/netmsg/CMakeLists.txt
index 3957ebeaf7..7115171eba 100644
--- a/dll/win32/netmsg/CMakeLists.txt
+++ b/dll/win32/netmsg/CMakeLists.txt
@@ -1,5 +1,5 @@
add_library(netmsg SHARED netmsg.rc)
-set_module_type(netmsg module UNICODE)
+set_module_type(netmsg module UNICODE ENTRYPOINT 0)
add_dependencies(netmsg netmsgmsg)
add_cd_file(TARGET netmsg DESTINATION reactos/system32 FOR all)
diff --git a/dll/win32/netmsg/netmsg.rc b/dll/win32/netmsg/netmsg.rc
index df8f4ea2fd..c8b637efa1 100644
--- a/dll/win32/netmsg/netmsg.rc
+++ b/dll/win32/netmsg/netmsg.rc
@@ -4,4 +4,4 @@
#define REACTOS_STR_ORIGINAL_FILENAME "netmsg.dll"
#include <reactos/version.rc>
-#include <netmsg_msg.rc>
+#include <netmsgmsg.rc>