FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

GtkD on Windows + Dos box

 
Post new topic   Reply to topic     Forum Index -> gtkD
View previous topic :: View next topic  
Author Message
nazriel



Joined: 22 Apr 2011
Posts: 4

PostPosted: Tue Jul 19, 2011 5:59 am    Post subject: GtkD on Windows + Dos box Reply with quote

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
View user's profile Send private message
Mike Wey



Joined: 07 May 2007
Posts: 428

PostPosted: Tue Jul 19, 2011 3:35 pm    Post subject: Reply with quote

If you don't want the dos box to appear pass the following flag to the compiler:

-L/SUBSYSTEM:WINDOWS:
Back to top
View user's profile Send private message
nazriel



Joined: 22 Apr 2011
Posts: 4

PostPosted: Thu Jul 21, 2011 7:35 am    Post subject: Reply with quote

Works!
Thanks alot mate.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> gtkD All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group