compuphase/Black-Magic-Probe-Book

Windows: Console window stays open for a long time after closing BMTrace

sidprice opened this issue · 4 comments

Windows: Console window stays open for a long time after closing BMTrace

The console window should not be there in the first place. These are GUI applications. However, the linker sets a flag in the PE header that it is a console application.
Are you using Makefile.mingw? I will need to look at the linker options.

Yes, I am using Makefile.mingw

Commit a2142e8 has an extra linker flag for MingW to avoid a console window on GUIs.

@compuphase Thank you, looks good and BMTrace shuts down much more quickly without the console window.