I have a DLL file that is written in C++. I am try to use in C++ DLL in my c# code. C++ method is called correctly but it gives error after process completed.
Exception Details:
completed.System.ExecutionEngineException was unhandled Message=Exception of type 'System.ExecutionEngineException' was thrown.
I got the same problem with this code:
The problem was the "out" keyword. The example on MSDN doesn't have the 'out'.
Hope that helps someone... Simon