Sightly faster CoInitialize flag

This commit is contained in:
Jack Andersen 2016-06-17 10:41:39 -10:00
parent b231cf9104
commit d2a8430746
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ HRESULT CDialogEventHandler_CreateInstance(REFIID riid, void **ppv);
std::wstring openDB()
{
std::wstring ret;
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
CoInitializeEx(NULL, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE);
//Cocreate the file open dialog object
IFileDialog *pfd = NULL;