this error stops compiling if i have one or more System.String in my structs is there any other way to store strings?
i have tried things like this:
Try the MarshalAs attribute:
MarshalAs
struct Foo { [MarshalAs(UnmanagedType.LPStr] string s; }