From 5a310b9262a3e2830fc852d8cdfa3d27ff6322e8 Mon Sep 17 00:00:00 2001 From: Matthew Newhook Date: Wed, 28 Feb 2007 10:02:22 +0000 Subject: http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1722, http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1721, http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1926 --- cpp/src/Ice/DLLMain.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cpp/src/Ice/DLLMain.cpp') 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 #include +#include 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) { -- cgit v1.2.3