From b5da2be1e6ea40eab51e5244d2352bd7c725e0cf Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Tue, 3 Oct 2023 13:09:41 -0400 Subject: [PATCH] try other thing --- com.d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/com.d b/com.d index cb81581..2a1db6f 100644 --- a/com.d +++ b/com.d @@ -614,7 +614,7 @@ auto createComObject(T = Dynamic)(GUID classId) { T obj; } - ComCheck(CoCreateInstance(&classId, null, /*CLSCTX_INPROC_SERVER*/ CLSCTX_LOCAL_SERVER, &iid, cast(void**) &obj), "Failed to create object"); + ComCheck(CoCreateInstance(&classId, null, CLSCTX_INPROC_SERVER | CLSCTX_LOCAL_SERVER, &iid, cast(void**) &obj), "Failed to create object"); return ComClient!(Dify!T, typeof(obj))(obj); }