Unhandled exception of type System.ExecutionEngineException

Hi,

  This is a vs.net 2003 problem.

  I have a C# windows form tester application that communicates with a unmanaged C++ component using a managed C++ proxy/wrapper.

  I am suppose to do processing in the unmanaged C++ component and send the results back to C#. Then i will do some mathematical calculation within C#.

  Now my program able to generate the results i want, but then it prompt me an exception - An unhandled exception of type 'System.ExecutionEngineException' occured in mscorlib.dll.

  So is my problem lies on my c# or managed C++ As far i know, i did include mscorlib.dll into the managed C++ project.

Any help please

Thank you.


Answer this question

Unhandled exception of type System.ExecutionEngineException

  • videsh

    You haven't given enough information to determine that.

    Try starting with a simple application and slowly add complexity until the ExceptionEngineException occurs again.

    ExceptionEngineException typically indicates a bug. So if you can diagnose exactly where it is coming from, report a bug on the Microsoft Feedback Center.

    My guess is that is it the managed C++ wrapper.



  • Karl David Anderson

    Thanks David for replying. Yeah, i suspect is managed C++ too...

    I will stick to your idea then on starting with a simple application ... Smile

  • Unhandled exception of type System.ExecutionEngineException