G
GTi
I have made a DLL in a C
One of this function returns a string type:
GetMyTextString(char *txt);
SetMyTextString(char *txt);
But the compiler give me this answer:
error CS0214: Pointers may only be used in an unsafe context
What is the best way of doing this?
I need to send and return a string from a C DLL
One of this function returns a string type:
GetMyTextString(char *txt);
SetMyTextString(char *txt);
But the compiler give me this answer:
error CS0214: Pointers may only be used in an unsafe context
What is the best way of doing this?
I need to send and return a string from a C DLL