mirror of https://github.com/AxioDL/amuse.git
Sightly faster CoInitialize flag
This commit is contained in:
parent
b231cf9104
commit
d2a8430746
|
@ -88,7 +88,7 @@ HRESULT CDialogEventHandler_CreateInstance(REFIID riid, void **ppv);
|
||||||
std::wstring openDB()
|
std::wstring openDB()
|
||||||
{
|
{
|
||||||
std::wstring ret;
|
std::wstring ret;
|
||||||
CoInitializeEx(NULL, COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE);
|
CoInitializeEx(NULL, COINIT_MULTITHREADED | COINIT_DISABLE_OLE1DDE);
|
||||||
|
|
||||||
//Cocreate the file open dialog object
|
//Cocreate the file open dialog object
|
||||||
IFileDialog *pfd = NULL;
|
IFileDialog *pfd = NULL;
|
||||||
|
|
Loading…
Reference in New Issue