diff options
Diffstat (limited to 'src/native/addrbook/msoutlook/com/server/Server.cxx')
-rw-r--r-- | src/native/addrbook/msoutlook/com/server/Server.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/native/addrbook/msoutlook/com/server/Server.cxx b/src/native/addrbook/msoutlook/com/server/Server.cxx index 44cd872..fcdd731 100644 --- a/src/native/addrbook/msoutlook/com/server/Server.cxx +++ b/src/native/addrbook/msoutlook/com/server/Server.cxx @@ -29,7 +29,8 @@ int main(int argc, char** argv) { HRESULT hr = E_FAIL; - if(::CoInitializeEx(NULL, COINIT_MULTITHREADED) != S_OK) + if((hr = ::CoInitializeEx(NULL, COINIT_MULTITHREADED)) != S_OK + && hr != S_FALSE) { return hr; } |