Changed: #869 Crash when updating Windows 7 progress bar

This commit is contained in:
kervala 2010-05-10 20:37:41 +02:00
parent c625dc8d90
commit 487158042f

View file

@ -68,7 +68,7 @@ CProgress::CProgress ()
HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED); HRESULT hr = CoInitializeEx(NULL, COINIT_MULTITHREADED);
// instanciate the taskbar control COM object // instanciate the taskbar control COM object
if (SUCCEEDED(hr)) CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pTaskbarList)); // if (SUCCEEDED(hr)) CoCreateInstance(CLSID_TaskbarList, NULL, CLSCTX_INPROC_SERVER, IID_PPV_ARGS(&pTaskbarList));
#endif // TASKBAR_PROGRESS #endif // TASKBAR_PROGRESS
} }