A library for adding scripting to .NET applications. Supports V8 (Windows, Linux, macOS) and JScript/VBScript (Windows).
1.74k
stars
148
forks
source link
When passing global reference types to C#, the address is lost. #539
Closed
Rison-Hub closed 1 year ago
The value address of the image obtained from oResult[0] is 0x0000029e400310.
C# Code
add
has an address of ‘0x000000000000000’ The address of add should be 0x0000029e400310 in this context.But when I modify the JavaScript code as follows, everything works correctly. JS Code:
When I pass global parameters into a method, shouldn't the method receive parameters that point to the reference addresses of what I passed in?