Compiling Windows GUI-application
Andrej Mitrovic
andrej.mitrovich at test.com
Fri Aug 27 15:58:16 PDT 2010
Try compiling with -L/SUBSYSTEM:WINDOWS:
There's more advice here (it's not a GtkD forum but it might help):
http://www.dsource.org/forums/viewtopic.php?t=3993&highlight=console
Fab Wrote:
> Hi
> I'm new in D but I used coding Delphi. I decided using D as my main
> programming language because I've dumped Delphi as a consequence of its
> awkwardness. Now I'm using D with Tango on the MS Windows plattform. So I
> don't want to miss GUIs and I decided to use GtkD.
> Actually I'm happy because I haven't got any problems creating simple
> applications with that library.
> But ... when I execute my application I can see my GUI and additionally an
> empty commandline (the "windows terminal").
> I compile my code with dsss and the dmd compiler. I've googled and found this
> two links:
>
> http://www.digitalmars.com/ctg/ctgDefFiles.html
> http://www.digitalmars.com/ctg/win32programming.html
>
> But I cannot make head or tail of it.
> I would be very happy if you showed me how to get rid of that commandline.
> I hope you can understand my bad english.
>
> Greetings
> Fab
>
> PS: I'm lloking foward to your answers.
More information about the Digitalmars-d-learn
mailing list