On Mon, 23 Mar 2009, Marcos Gambeta wrote: Hi,
> -mwindows e mno-cygwin can be removed. Only -Wl,-subsystem,windows is > necessary. AFAIK -mwindows/-mconsole should be used instead of using directly LD parameters. Of course both will probably make the same job in your case but GCC knows about -mwindows but may not know anything about linker parameters passed by -Wl,... option. Probably it does not parse them at all so in some cases it may behaves wrongly. > But i need to add the lines below to remove console window: > REQUEST HB_GT_GUI_DEFAULT > ANNOUNCE HB_GT_WIN This is wrong. Instead of: ANNOUNCE HB_GT_WIN Please use: ANNOUNCE HB_GTSYS if you do not want to link GTWIN with your application. Please also remember that you can create GUI programs and link them with GTWIN or other GTs which will be activated only on user request, f.e. as debug console. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour