title: An unhandled exception of type 'System.ExecutionEngineException' occurred in XXX.exe
body: <p>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.</p>
  
  <p><strong>Exception Details:</strong> </p>
  
  <blockquote>
    <p>completed.System.ExecutionEngineException was unhandled
    Message=Exception of type 'System.ExecutionEngineException' was
    thrown.</p>
  </blockquote>