Hi Lorenzo, With the approach I used I don't need to change anything in my code to change another of my applications from DOS CUI to windows GUI I've only changed my lib (that is shared between all of my dos applications) when I use wopen to use wvw_nopenwindow the same for wclose Function My_wclose() If lGui wvw_lclosewindow() Return( wvw_nSetCurwindow() ) Else Return Wclose() Endif
Return NIL Brgds, Mike _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour