summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/DLLMain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/DLLMain.cpp')
-rwxr-xr-xcpp/src/Ice/DLLMain.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/Ice/DLLMain.cpp b/cpp/src/Ice/DLLMain.cpp
index dab9d417bb4..c4c72acd827 100755
--- a/cpp/src/Ice/DLLMain.cpp
+++ b/cpp/src/Ice/DLLMain.cpp
@@ -9,6 +9,7 @@
#include <Ice/EventLoggerI.h>
#include <Ice/ImplicitContextI.h>
+#include <Ice/Service.h>
extern "C" BOOL WINAPI _CRT_INIT(HINSTANCE, DWORD, LPVOID);
@@ -27,10 +28,10 @@ ice_DLL_Main(HINSTANCE hDLL, DWORD reason, LPVOID reserved)
return FALSE;
}
#endif
-
if(reason == DLL_PROCESS_ATTACH)
{
Ice::EventLoggerI::setModuleHandle(hDLL);
+ Ice::Service::setModuleHandle(hDLL);
}
else if(reason == DLL_THREAD_DETACH)
{