Does anyone have a good tutorial for C# marshalling?

I have a C++ .dll I need to use in a C# application. I have the .dll and the C++ header file. I have tried to create a hook into the .dll using the dllImport function, but the functions in the .dll are pointers and return values. Everything I have read does not give me a clear method of use x if the C++ header function is y. Any help would be much appreciated!

by RFEngineer via /r/csharp

Leave a Reply