On Sun, 09 Nov 2008, Pritpal Bedi wrote:

Hi Pritpal,

> After long I needed a pure console appln and built one with GTWIN.
> The build environments and switches are the same as with GTWVT/GTWVG.
> Everything works fine except that whenever I execute it from a 
> DOS console in Windows, it opens up another another console 
> with scrollbars. I precieve CONSOLE application to acquire the same 
> console its working space and execute the appliction in the same box only.
> I know I am missing something but what is that ?

In GUI programs console is not inherited from caller and GTWIN allocates
new console window.
Type of application (GUI/CUI) in MS-Windows builds is defined during
linking by some linker switches.
In BCC builds you have to remove -tW switch.

best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to