I have a small DLL written in C (with Visual C++) that exports several functions and a global variable (a string).
The string is declared like this:
__declspec(dllexport) char x[20];
In a C# application I need to read this string, but I don't know how to declare it (I know how to import a...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.