tags:

views:

107

answers:

0

My task is to allow a MFC based legacy code to be called from .NET applications. I thought about using Managed C++. It works quite fine untill one of the legacy MFC classes get destroyed. I could debug the run of the destructor, without any sign of error. After the destructor, but while the program lefts the scope, the application crashes with exception saying: an erro occured during destructor call. Thanks for any help.