From d93c7bca23620c37264ba3570a167972fda58edc Mon Sep 17 00:00:00 2001 From: Rein Klazes Date: Wed, 10 Nov 1999 19:57:45 +0000 Subject: [PATCH] CoGetClassObject should complain about not being able to do out-of-process servers *only* if the application doesn't include the in-process options. --- dlls/ole32/compobj.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dlls/ole32/compobj.c b/dlls/ole32/compobj.c index 420e068b3ce..d5f2fcafc81 100644 --- a/dlls/ole32/compobj.c +++ b/dlls/ole32/compobj.c @@ -1320,7 +1320,8 @@ HRESULT WINAPI CoGetClassObject(REFCLSID rclsid, DWORD dwClsContext, } /* out of process and remote servers not supported yet */ - if ((CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER) & dwClsContext) { + if (((CLSCTX_LOCAL_SERVER|CLSCTX_REMOTE_SERVER) & dwClsContext) + && !((CLSCTX_INPROC_SERVER|CLSCTX_INPROC_HANDLER) & dwClsContext)){ FIXME("CLSCTX_LOCAL_SERVER and CLSCTX_REMOTE_SERVER not supported!\n"); return E_ACCESSDENIED; }