Win32: How to get the stack trace when compiling with a windows subsystem?

Andrej Mitrovic andrej.mitrovich at gmail.com
Sun Aug 18 07:09:52 PDT 2013


On 8/18/13, Andrej Mitrovic <andrej.mitrovich at gmail.com> wrote:
>     if (!GetConsoleWindow())

Actually it would be even better if I could create a console window
when building with subsystem:windows, for debugging purposes. I'll
have a look at MSDN on ways to do this, unless someone already knows
this and posts it here.

Normally I'd just compile in console mode to begin with, but I'm
trying to avoid some GUI-related bugs when an app isn't built with
subsystem windows
(http://forum.dlang.org/thread/CAJ85NXBnx+8Uo5BeO1k9Q-j0QpOVo74Ft4LaEEksaQJtMULeKg@mail.gmail.com#post-mpzehfgvzuzspvfoxsxw:40forum.dlang.org).


More information about the Digitalmars-d-learn mailing list