Closed ab4d closed 7 years ago
This is a fix for Issue #850.
Because portable .Net does not provide methods to convert string into ANSI encoded byte array (as proposed by OndrejPetrzilka), the solution is to continue using Marshal.StringToHGlobalAnsi and releasing it with #Marshal.FreeHGlobal.
This is a fix for Issue #850.
Because portable .Net does not provide methods to convert string into ANSI encoded byte array (as proposed by OndrejPetrzilka), the solution is to continue using Marshal.StringToHGlobalAnsi and releasing it with #Marshal.FreeHGlobal.