• 粉碎层变数在p/invoke的记忆中一致——
原文:Memory alignment of struct variables for p/invoke - Strings lose the last character
原文:Memory alignment of struct variables for p/invoke - Strings lose the last character
I am trying to read records from a Btrieve (v6.15) database by using btrieve API from C# code via P/Invoke. I have managed to read records, however last character of strings are cropped while reading....