www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - DFL+console window

reply Melkor <laszlo.juhos gmail.com> writes:
My problem is that i can't disable the console window in a windows application.
When i specify the -L/EXET:NT -L/SU:windows flags in the build options it does
not seem to get passed to the linker in code::blocks, and if i specify the
linker flags like this: -EXET:NT -SU:windows it says it is an unrecognized
switch.

Anyone has a solution for this?
Jun 06 2007
next sibling parent Deewiant <deewiant.doesnotlike.spam gmail.com> writes:
Melkor wrote:
 My problem is that i can't disable the console window in a windows
application. When i specify the -L/EXET:NT -L/SU:windows flags in the build
options it does not seem to get passed to the linker in code::blocks, and if i
specify the linker flags like this: -EXET:NT -SU:windows it says it is an
unrecognized switch.
 
 Anyone has a solution for this?
You need to pass -L/exet:nt/su:windows:4.0 to the linker, which means you need to pass -L-L/exet:nt/su:windows:4.0 to the compiler. Did you leave out the additional -L?
Jun 06 2007
prev sibling parent davidl <davidl 126.com> writes:
iirc -gui should do the trick

 My problem is that i can't disable the console window in a windows  
 application. When i specify the -L/EXET:NT -L/SU:windows flags in the  
 build options it does not seem to get passed to the linker in  
 code::blocks, and if i specify the linker flags like this: -EXET:NT  
 -SU:windows it says it is an unrecognized switch.

 Anyone has a solution for this?
-- 使用 Opera 革命性的电子邮件客户程序: http://www.opera.com/mail/
Jun 06 2007