mirror of https://github.com/AxioDL/amuse.git
Ensure COM is initialized for VST hosts that might not have done so
This commit is contained in:
parent
22610f32e9
commit
b231cf9104
|
@ -88,6 +88,7 @@ HRESULT CDialogEventHandler_CreateInstance(REFIID riid, void **ppv);
|
|||
std::wstring openDB()
|
||||
{
|
||||
std::wstring ret;
|
||||
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
|
||||
|
||||
//Cocreate the file open dialog object
|
||||
IFileDialog *pfd = NULL;
|
||||
|
|
Loading…
Reference in New Issue