提交 cb24080d 编写于 作者: J jp9000

UI: Add CoInitializeEx to main() startup

Fixes an issue with a certain upcoming as-of-yet-unreleased plugin that
relies on COM
上级 49ba7412
...@@ -1660,6 +1660,8 @@ int main(int argc, char *argv[]) ...@@ -1660,6 +1660,8 @@ int main(int argc, char *argv[])
#endif #endif
#ifdef _WIN32 #ifdef _WIN32
CoInitializeEx(0, COINIT_MULTITHREADED);
load_debug_privilege(); load_debug_privilege();
base_set_crash_handler(main_crash_handler, nullptr); base_set_crash_handler(main_crash_handler, nullptr);
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册