Re: Switch of the main form
- From: Danny Strümpel <dannys9@invalid>
- Date: Sat, 26 Jan 2008 10:31:20 +0100
mj schrieb:
Ik kan use my program as a commandline program.
Is it possible to modify and compile my program as a commandline program without displaying the main form.
Basically, yes. You need to rewrite the .dpr file. Put
{$APPTYPE CONSOLE} at the top and take out all Application.* calls from the main code. Maybe you will also need to rework the Initialization and Finalization sections of your units.
Each code that is associated with any forms and which you need to use must also be rewritten and detached from the forms.
--
....und wech
Danny <dannys9 (at) gmx (dot) de>
.
- References:
- Switch of the main form
- From: mj
- Switch of the main form
- Prev by Date: Switch of the main form
- Next by Date: Re: procedure ( a : integer; b : integer; ); would be nice.
- Previous by thread: Switch of the main form
- Index(es):