Hello,
I have a .NET class that creates a form and displays it using ShowDialog.
This .NET class has a COM visible interface that is called by the main app
which is C++ COM.
The form displays correctly and everything seems to be fine, but when the
main app is closed I always get a StackOverflowException from
NativeWindow.OnShutdown. By the time the app is closed I would think that
everything regarding the .NET form has been cleaned up as the form has been
closed and all related objects are out of scope.
Any ideas?