Skip to content

Instantly share code, notes, and snippets.

@samcv
Created September 12, 2018 18:21
Show Gist options
  • Save samcv/a355afaf420723eb24ca3991f75fa63e to your computer and use it in GitHub Desktop.
Save samcv/a355afaf420723eb24ca3991f75fa63e to your computer and use it in GitHub Desktop.
--- a/dlls/ole32/compobj.c
+++ b/dlls/ole32/compobj.c
@@ -3213,6 +3213,7 @@
{
MULTI_QI multi_qi = { iid };
HRESULT hres;
+ CoInitialize(NULL);
TRACE("(rclsid=%s, pUnkOuter=%p, dwClsContext=%08x, riid=%s, ppv=%p)\n", debugstr_guid(rclsid),
pUnkOuter, dwClsContext, debugstr_guid(iid), ppv);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment