I have an activex control loaded in IE; This activex control contains legacy MFC/C++ controls and C# WPF controls; Everything seems to be working if I click on the WPF control; but if I click on the MFC control which in turn refreshes the WPF, IE crashes
abruptly. Looks like, there are two appdomains - one created for the webapp (loading activex control) and another is of IE's default appdomain. If I click on the WPF control, call starts from the webapp's appdomain - no issues but if I click on the MFC
control, call starts from the IE's default appdomain and crashes when it enters the webapp's appdomain to access the WPF control. What could be the solution? I did not like the marshalling concepts of delegate-to-function pointer. I cannot change the architecture
as well, it is more than a decade old. Same control seems to be working fine in other containers, it is just that it is not working in IE. Any help will be greatly appreciated.
View Complete Post