digitalmars.D.learn - DWT Gui program without console
- user (7/7) Apr 27 2013 Hi, writing a GUI tool using DWT, looks like the windows console
- Adam D. Ruppe (8/8) Apr 27 2013 This is a bit of a faq! There's two solutions, a def file or a
Hi, writing a GUI tool using DWT, looks like the windows console pops up everytime I run the tool. How can I prevent/supress the console? I did some googling and found a tip that -version=gui helps, but its not working for me. Thanks in advance. user
Apr 27 2013
This is a bit of a faq! There's two solutions, a def file or a command line argument to the linker. The first two posts here describe the .def file: http://forum.dlang.org/thread/xkvdpdsfzevanucrgkud forum.dlang.org And if you scroll down a bit to this post: http://forum.dlang.org/thread/xkvdpdsfzevanucrgkud forum.dlang.org#post-mailman.2578.1355147894.5162.digitalmars-d-learn:40puremagic.com you'll see the quickest solution: dmd.exe -L/SUBSYSTEM:WINDOWS dwt_app.d
Apr 27 2013