mirror of
git://source.winehq.org/git/wine.git
synced 2024-07-21 22:04:10 +00:00
mscoree: Don't pass the string as a reference type.
This commit is contained in:
parent
7994f2c03b
commit
091f31744a
|
@ -592,9 +592,12 @@ static HRESULT WINAPI CLRRuntimeHost_ExecuteInDefaultAppDomain(ICLRRuntimeHost*
|
|||
goto cleanup;
|
||||
}
|
||||
|
||||
/* The .NET function we are calling has the following declaration
|
||||
* public static int functionName(String param)
|
||||
*/
|
||||
argsA = WtoA(pwzArgument);
|
||||
str = This->mono->mono_string_new(domain, argsA);
|
||||
args[0] = &str;
|
||||
args[0] = str;
|
||||
args[1] = NULL;
|
||||
result = This->mono->mono_runtime_invoke(method, NULL, args, NULL);
|
||||
if (!result)
|
||||
|
|
Loading…
Reference in a new issue