diff options
author | Matthew Newhook <matthew@zeroc.com> | 2007-02-28 10:02:22 +0000 |
---|---|---|
committer | Matthew Newhook <matthew@zeroc.com> | 2007-02-28 10:02:22 +0000 |
commit | 5a310b9262a3e2830fc852d8cdfa3d27ff6322e8 (patch) | |
tree | f11b50a26321aca701ddd8ef44cd6b85ccddc59a /cpp/src/Ice/DLLMain.cpp | |
parent | http://bugzilla.zeroc.com/bugzilla/show_bug.cgi?id=1722, (diff) | |
download | ice-5a310b9262a3e2830fc852d8cdfa3d27ff6322e8.tar.bz2 ice-5a310b9262a3e2830fc852d8cdfa3d27ff6322e8.tar.xz ice-5a310b9262a3e2830fc852d8cdfa3d27ff6322e8.zip |
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
Diffstat (limited to 'cpp/src/Ice/DLLMain.cpp')
-rwxr-xr-x | cpp/src/Ice/DLLMain.cpp | 3 |
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) { |