diff --git a/VST/FileOpenDialog.cpp b/VST/FileOpenDialog.cpp index 758f728..dfb91a8 100644 --- a/VST/FileOpenDialog.cpp +++ b/VST/FileOpenDialog.cpp @@ -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;