How can I get rid of the command line window in my release build ?
Add {$ifdef MSWINDOWS} {$apptype GUI} {$endif} in your program file.
{$ifdef MSWINDOWS} {$apptype GUI} {$endif}