Exiting from a DLL (Windows)
Hi I am not much of a Windows programmer. Anyway, I have this application which works fine in stand alone (it has an interface etc etc). However, when I make it into a DLL, it exhibits the following behavior. I call the main function (the entry point of both the stand-alone app and of the DLL) and the interface is brought up with no problems. Then I can interact with the application. However 1 - (Minor point) The "calling application" - some C++ stuff - is frozen in the meanwhile. 2 - (Major mess) When I "exit" from the CAPI interface (close the window) the all application is brought down (since I call a QUIT). I need suggestions about what would be the best way to achieve a better interoperability for the DLL case. Any help appreciated. Thanks -- Marco Antoniotti NYU Courant Bioinformatics Group tel. +1 - 212 - 998 3488 715 Broadway 10th FL fax. +1 - 212 - 998 3484 New York, NY, 10003, U.S.A.