mirror of https://github.com/adamdruppe/arsd.git
try other thing
This commit is contained in:
parent
56b3f44012
commit
b5da2be1e6
2
com.d
2
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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue