View previous topic :: View next topic |
Author |
Message |
nazriel
Joined: 22 Apr 2011 Posts: 4
|
Posted: Tue Jul 19, 2011 5:59 am Post subject: GtkD on Windows + Dos box |
|
|
Hello again.
I wanted to try gtkd on windows, everything works fine and smooth.
I use windows 7 64bit, dmd 2.053.
I've compiled examples and there is one thing bothering me.
Is there any way to remove dos box which appears when I launch an app?
Now when I run application from demos folder, Gtk window appears and dos box behind it.
I compiled examples with
Code: | dmd Dfile.d -L C:\path_to_gtkd.lib |
Best regards
nazriel |
|
Back to top |
|
|
Mike Wey
Joined: 07 May 2007 Posts: 428
|
Posted: Tue Jul 19, 2011 3:35 pm Post subject: |
|
|
If you don't want the dos box to appear pass the following flag to the compiler:
-L/SUBSYSTEM:WINDOWS: |
|
Back to top |
|
|
nazriel
Joined: 22 Apr 2011 Posts: 4
|
Posted: Thu Jul 21, 2011 7:35 am Post subject: |
|
|
Works!
Thanks alot mate. |
|
Back to top |
|
|
|