when i compile and start my sdl2 game in linux everything works fine,
but when i compile it on windows, when i start it TWO windows appear on the screen, my game screen, and one empty (black) windows console screen.
if i do ctrl+c in that blank console screen my app dies in the other screen.
my sdl2 code is normal, only one window is created in code.
does anyone know why this happens and how to remove that console screen? i only want one window to appear when i start my app (just like in linux and bsd).
(i dont use lazarus, only pure fpc)