Report question

Question: How to determine if I'm running as a console app? (Delphi on Win32)