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

How to create a Console mode application Without a console window

By , About.com Guide

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

Holiday Central

What to eat, where to go, fun things to do and how to save money on the perfect gifts. More >

Family Tech Center

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

  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.