修改dpr文件!
program projectdiary;
uses
Forms,
unitdiary1 in 'unitdiary1.pas' {start},
Unitdiary2 in 'Unitdiary2.pas' {mmxg},
Unitdaps in 'Unitdaps.pas' {diarydata: TDataModule},
Unitdiary3 in 'Unitdiary3.pas' {mainsetup},
Unitdiary4 in 'Unitdiary4.pas' {fmdiary},
Unitdiary5 in 'Unitdiary5.pas' {recd},
Unitdiary6 in 'Unitdiary6.pas' {selfzz},
Unitdiary7 in 'Unitdiary7.pas' {alter};
{$R *.RES}
begin
Application.Initialize;
Application.CreateForm(Tfmdiary, fmdiary);
Application.CreateForm(Tmmxg, mmxg);
Application.CreateForm(Tstart, start);
Application.CreateForm(Tdiarydata, diarydata);
Application.CreateForm(Tmainsetup, mainsetup);
Application.CreateForm(Trecd, recd);
Application.CreateForm(Tselfzz, selfzz);
Application.CreateForm(Talter, alter);
start.ShowModal;/////这里加上就行了!
Application.Run;
end.