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 programable 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.

[676 byte] By [ChuaWenChing] at [2008-1-26]
# 1

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.

DavidM.Kean at 2007-8-21 > top of Msdn Tech,Visual C#,Visual C# Language...
# 2
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

ChuaWenChing at 2007-8-21 > top of Msdn Tech,Visual C#,Visual C# Language...