//方法一:
program Project1;
uses
Forms,
Unit1 in 'Unit1.pas' {Form1},
Dialogs;
{$R *.RES}
begin
Application.Initialize;
// Application.CreateForm(TForm1, Form1);
ShowMessage('不要窗体!');
Application.Run;
end.
//方法二:创建CONSOLE Application
program Project1;
{$APPTYPE CONSOLE}
uses SysUtils;
begin
// Insert user code here
end.