Re: [hatari-devel] Hatari debug mode

[ Thread Index | Date Index | More lists.tuxfamily.org/hatari-devel Archives ]


Nicolas Pomarède schrieb:

regarding this console issues, do you know if there's a way to detect in which "context" Hatari was launched ? ie from an already opened console or by clicking on its icon (or using windows menu to launch it) ?

I don't know. But it would probably too late as soon as Hatari is running. If built in GUI mode and launched from the console, Windows will have already detached Hatari from the console. If built in console mode and launched from a GUI, Windows will have already opened a new console window.

The most straight-forward solution would be to provide two binaries that just differ in their mode. Then again, while I'm annoyed by the official binaries (in GUI mode), I don't mind changing them with a hex editor.

Regards
Christian
--
Christian Zietz  -  CHZ-Soft  -  czietz@xxxxxxx
WWW: https://www.chzsoft.de/
New GnuPG-Key-ID: 0x8708B34C827B159E


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/