From c766ea7b5c4ada301def9654356fecf9775df6ec Mon Sep 17 00:00:00 2001 From: Eric Pouech Date: Mon, 1 Oct 2001 20:51:44 +0000 Subject: [PATCH] Should initialize COM before calling it. --- dlls/shell32/shellole.c | 1 + 1 file changed, 1 insertion(+) diff --git a/dlls/shell32/shellole.c b/dlls/shell32/shellole.c index 70f10c2f5a8..aa41e8a0c6a 100644 --- a/dlls/shell32/shellole.c +++ b/dlls/shell32/shellole.c @@ -67,6 +67,7 @@ LRESULT WINAPI SHCoCreateInstance( } else { + CoInitialize(NULL); hres = CoCreateInstance(myclsid, unknownouter, CLSCTX_INPROC_SERVER, refiid, ppv); } -- 2.11.4.GIT