I have a big problem in managing a Windows Application in an ISAPI DLL. The reason I need an application in a Server

application is that I want my machine to be both server and client.

The problem I have is that I can create the MFC application and also the related window, but I have control on this

window only while the ISAPI dll is working (more precisely when the HttpExtensionProcess is running). In fact as soon

as the execution of this function ends it is like the thread (I think it should be the thread) of the application

cannot be controlled and accessed anymore. But as soon as there is another call to the ISAPI the window/application is

accessible again.

Have you any idea to solve this problem?

Thanks, Luca