[SOLVED] Why a command window is displayed? lazarus / 31-LCL ---------------------------------------------------------------------- egsuh · 2023-02-03 06:33 When I run a specific application a blank (black) command window is displayed, and then my main form is displayed. This does not happen with other projects. What could be a possible reason? ---------------------------------------------------------------------- TRon · 2023-02-03 06:42 I take it this issue only shows itself on windows platform ? Make sure you have checked the win32GUI option in your projects options (config and target}. But there are in-source compiler directives that influences that behaviour as well e.g. APPTYPE (I have no idea which one overrides: the config and target switch or apptype). And then you have your external execution of programs from within a lazarus project that /could/ open up a terminal window. ---------------------------------------------------------------------- Leledumbo · 2023-02-03 08:08 Quote from: TRon on February 03, 2023, 07:42:26 amBut there are in- source compiler directives that influences that behaviour as well e.g. APPTYPE (I have no idea which one overrides: the config and target switch or apptype). The in-source directive takes higher precedence over anything else. ---------------------------------------------------------------------- egsuh · 2023-02-03 08:16 QuoteMake sure you have checked the win32GUI option in your projects options (config and target}. This solved the problem. Probably I might have unchecked it inadvertently. Thank you for your advice.