Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming

How to create a Console mode application Without a console window

By Zarko Gajic, About.com

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.

Delphi tips navigator:
» How to Convert Pixels to Milimeters (Delphi code)
« Get the list of events with attached event handlers

More Delphi Programming Quick Tips

Explore Delphi Programming

About.com Special Features

Build Your Own Website

Step-by-step advice on how to do everything from choosing a Web host to promoting your content. More >

Connect Your Home Computers

Easy ways to connect two computers for networking purposes. More >

Delphi Programming

  1. Home
  2. Computing & Technology
  3. Delphi Programming
  4. Coding Delphi Applications
  5. Delphi Tips and Tricks
  6. 2005 Delphi Tips
  7. How to create a Console mode application Without a console window using Delphi

©2009 About.com, a part of The New York Times Company.

All rights reserved.