We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3473b51 commit 7a8774aCopy full SHA for 7a8774a
ext/com_dotnet/com_com.c
@@ -52,7 +52,7 @@ PHP_FUNCTION(com_create_instance)
52
RPC_C_AUTHN_LEVEL_DEFAULT, RPC_C_IMP_LEVEL_IMPERSONATE,
53
&authid, EOAC_NONE
54
};
55
- zend_long cp = CP_ACP;
+ zend_long cp = GetACP();
56
57
php_com_initialize();
58
obj = CDNO_FETCH(object);
ext/com_dotnet/com_dotnet.c
@@ -196,7 +196,7 @@ PHP_FUNCTION(com_dotnet_create_instance)
196
int ret = FAILURE;
197
char *where = "";
198
IUnknown *unk = NULL;
199
200
201
202
stuff = (struct dotnet_runtime_stuff*)COMG(dotnet_runtime_stuff);
0 commit comments