mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=9722
This commit is contained in:
parent
208f47e4e8
commit
7377a06bca
|
@ -3193,3 +3193,9 @@ David 23 Mar 2006
|
|||
|
||||
tools/
|
||||
make_project
|
||||
|
||||
Rom 23 Mar 2006
|
||||
- Bug Fix: Fix a COM initialization error within BOINC DLL.
|
||||
|
||||
clientlib/lib/
|
||||
boinc_dll.cpp
|
||||
|
|
|
@ -40,6 +40,11 @@ public:
|
|||
|
||||
EXTERN_C __declspec(dllexport) BOOL ClientLibraryStartup()
|
||||
{
|
||||
|
||||
// Startup the COM Framework
|
||||
if (FAILED(CoInitializeEx(NULL, NULL)))
|
||||
return FALSE;
|
||||
|
||||
if (!IdleTrackerStartup())
|
||||
return FALSE;
|
||||
if (IsWindows2000Compatible()) {
|
||||
|
@ -56,5 +61,8 @@ EXTERN_C __declspec(dllexport) void ClientLibraryShutdown()
|
|||
if (IsWindows2000Compatible()) {
|
||||
NetworkTrackerShutdown();
|
||||
}
|
||||
|
||||
// Cleanup the COM Framework.
|
||||
CoUninitialize();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue