I am working on upgrades to a screen scraping application. We are using an ActiveX control to scrape screens out of an IBM mainframe. The mainframe program often hangs and crashes the ActiveX control causing our application to crash. We don't have access to the mainframe or the ActiveX source code. We are not going to write our own active x control.
What is the bast way to encapsulate an ActiveX control to detect application hangs with the control so we can kill the process and restart with code?
Should I create 2 separate applications? One as a controller that checks on the other and kills/restarts the process when it hangs?
Would they have to be on separate app domains? Is it possible have two programs communicate with each other even if they are on separate app domains?