Commit c766ea7b authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

Should initialize COM before calling it.

parent abc35397
......@@ -67,6 +67,7 @@ LRESULT WINAPI SHCoCreateInstance(
}
else
{
CoInitialize(NULL);
hres = CoCreateInstance(myclsid, unknownouter, CLSCTX_INPROC_SERVER, refiid, ppv);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment