Hide console of gui program coded by gtkD

Jordi Sayol g.sayol at yahoo.es
Mon Dec 10 05:43:36 PST 2012


Al 10/12/12 14:34, En/na December Flower ha escrit:
> Hello.
> 
> I have a question about how to hide a console window.
> 
> http://pds23.egloos.com/pds/201212/10/80/e0088180_50c5e3b1bb789.png
> 
> This simple application is made by using gtkD and glade3. As you can see from picture above, console window pops up and doesn't disappear. When I close the console window, gui window also disappears. I also made a simple gui application without glade3, but it also showed console window. How can I hide this annoying console window?
> 
> Regards.
> 

Pass the following argument to dmd

$ dmd.exe -L/SUBSYSTEM:WINDOWS gtkd_app.d

Regards,
-- 
Jordi Sayol


More information about the Digitalmars-d-learn mailing list