Closed badcel closed 4 weeks ago
The native datatype long / ulong is on windows always 32bit. The dotnet 'long` is always 64 bit.
long
ulong
This can clash during runtime. Use CLong / CULong in the internal API to avoid passing some memeory to C which is bigger than expected.
CLong
CULong
Check parameters / return types for functions and callbacks.
Related to #782.
The native datatype
long
/ulong
is on windows always 32bit. The dotnet 'long` is always 64 bit.This can clash during runtime. Use
CLong
/CULong
in the internal API to avoid passing some memeory to C which is bigger than expected.Check parameters / return types for functions and callbacks.
Related to #782.