From cb24080d7627b0f444c4f1993eb00571f2178e6e Mon Sep 17 00:00:00 2001 From: jp9000 Date: Tue, 26 Apr 2016 15:00:16 -0700 Subject: [PATCH] UI: Add CoInitializeEx to main() startup Fixes an issue with a certain upcoming as-of-yet-unreleased plugin that relies on COM --- obs/obs-app.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/obs/obs-app.cpp b/obs/obs-app.cpp index 84ce19075..aa5f89dcd 100644 --- a/obs/obs-app.cpp +++ b/obs/obs-app.cpp @@ -1660,6 +1660,8 @@ int main(int argc, char *argv[]) #endif #ifdef _WIN32 + CoInitializeEx(0, COINIT_MULTITHREADED); + load_debug_privilege(); base_set_crash_handler(main_crash_handler, nullptr); #endif -- GitLab