DFL+console window

Deewiant deewiant.doesnotlike.spam at gmail.com
Wed Jun 6 11:45:23 PDT 2007


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?



More information about the Digitalmars-d mailing list