Zyrenthian
Programmer
Does anyone have any experience with UI Threads in a Dialog Based app? I have found an MSDN example of an MDI app but I cant get it to work in a dialog based app. The problem I am having is I am trying to load a CHTMLDialog in its own thread. The reason for this is because of a Java Applet that is being loaded. The applet was not designed to have multiple instances AND it was not designed with a worker thread. This poses 2 problems. One, the screen will not refresh when the Applet is loading. This is a java issue that I have no control over. The fact that it has problems when multiple instances are declared is where the real problem is. When I open 2 HTML Dialogs and interact with the applet, I get into a deadlock situation where both apps are trying to access a database at the same time. This kills the C++ app. The window will not refresh until the applet is done but because of the deadlock, that will never happen.
The assumption is that by running a UI Thread, I could still interact with my application while the 2 child windows loading the applet are in deadlock.
Any input is welcome.
Thanx in advance
Matt
The assumption is that by running a UI Thread, I could still interact with my application while the 2 child windows loading the applet are in deadlock.
Any input is welcome.
Thanx in advance
Matt