I’m about to call a function in a native windows dll from my managed C# dll project. I want the function to return some kind of string (char*) so I get it as a System.String in my mandaged dll.
How can I do that? I’ve tried to add CLR support on my native dll but for different reasons it can’t compile with that option.
How can I do that? I’ve tried to add CLR support on my native dll but for different reasons it can’t compile with that option.