how to disable dos console?
when i run a app, it will show a dos console. how do not show dos console ?
I think you must link with a manifest file
I use dub to build. how to config ? I use cmd : dub build --build=release --arch=x86 --compiler=ldc2
Try to pass this to the linker : /SUBSYSTEM:WINDOWS. I'm not sure of the syntax. Ping @p0nce, (sorry but according to https://github.com/ldc-developers/ldc/issues/1298#issuecomment-184811168 I think you might be able to give a hand here).
use dmd, pass follow to linker. it work. EXETYPE NT SUBSYSTEM WINDOWS 4.0
I use a .def file with the contents that @huangyy said