Re: Switch of the main form



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>
.