using VC++ 6.0 components in C#

Jul 20 2004 7:08 AM
Hi , im using component developed using VC++ 6.0 in C# which uses some other component. At some function calls ,which are of that other component throws following exception ************** Exception Text ************** System.Runtime.InteropServices.COMException (0x80010105): The server threw an exception. where as when i'm using component in C++ (VC 6) it works just fine, some times it gves exception and crashes the value of ESP was not properly saved across function call. This is usually a result of calling a function declared with one calling convention with a function pointer declared with a different calling convention.

Answers (4)