Mega Code Archive

 
Categories / Delphi / Ide Indy
 

How to create a Console mode application Without a console window using Delphi

Title: How to create a Console mode application Without a console window using Delphi When a console application is started, Windows creates a text-mode console window through which the user can interact with the application. There are situations where you do not need to display any information to the user nor you need any input from the user, what's more, you even do NOT want the command window to get displayed (to run your application "invisible" in the "background"). The easiest way to suppress the command window from displaying is to simply delete the {$APPTYPE CONSOLE} line from the source code. Note: such an application is NOT a console mode application, of course.