1. Computing

How to create a Console mode application Without a console window

By

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

©2014 About.com. All rights reserved.