program vivirs;uses
Forms,
windows,
main in 'main.pas' {FrmMain},
datamd in 'datamd.pas' {dm: TDataModule},
input in 'input.pas' {Frminput},
report in 'report.pas' {Frmreport},
rpdetail in 'rpdetail.pas' {frmrpcard},
find in 'find.pas' {frmfind},
chtitle in 'chtitle.pas' {frmchtitle},
about in 'about.pas' {frmabout},
splash in 'splash.pas' {frmsplash};{$R *.RES}
var
hMutex:HWND;
Ret:Integer;
frmsplash:Tfrmsplash;
begin
Application.Initialize;
Application.Title := '薇薇人事管理系统';
hMutex:=CreateMutex(nil,False,'aaaaaa');
Ret:=GetLastError;
if Ret<>ERROR_ALREADY_EXISTS then begin
frmsplash:=Tfrmsplash.create(application);
frmsplash.Show;
frmsplash.Update;
Application.CreateForm(TFrmMain, FrmMain);
Application.CreateForm(Tdm, dm);
Application.CreateForm(TFrminput, Frminput);
Application.CreateForm(TFrmreport, Frmreport);
Application.CreateForm(Tfrmfind, frmfind);
Application.CreateForm(Tfrmrpcard, frmrpcard);
sleep(2000);
frmsplash.Hide;
frmsplash.Free;
Application.Run;
end;
end.
Forms,
windows,
main in 'main.pas' {FrmMain},
datamd in 'datamd.pas' {dm: TDataModule},
input in 'input.pas' {Frminput},
report in 'report.pas' {Frmreport},
rpdetail in 'rpdetail.pas' {frmrpcard},
find in 'find.pas' {frmfind},
chtitle in 'chtitle.pas' {frmchtitle},
about in 'about.pas' {frmabout},
splash in 'splash.pas' {frmsplash};{$R *.RES}
var
hMutex:HWND;
Ret:Integer;
frmsplash:Tfrmsplash;
begin
Application.Initialize;
Application.Title := '薇薇人事管理系统';
hMutex:=CreateMutex(nil,False,'aaaaaa');
Ret:=GetLastError;
if Ret<>ERROR_ALREADY_EXISTS then begin
frmsplash:=Tfrmsplash.create(application);
frmsplash.Show;
frmsplash.Update;
Application.CreateForm(TFrmMain, FrmMain);
Application.CreateForm(Tdm, dm);
Application.CreateForm(TFrminput, Frminput);
Application.CreateForm(TFrmreport, Frmreport);
Application.CreateForm(Tfrmfind, frmfind);
Application.CreateForm(Tfrmrpcard, frmrpcard);
sleep(2000);
frmsplash.Hide;
frmsplash.Free;
Application.Run;
end;
end.
解决方案 »
- 无法绑定由多个部分组成的标识符bsskinedit.text
- 如何用Tsimpledataset新增一个记录 为什么总是出错?麻烦高手指点一下 在线等
- 如何修改EXE文件的代码?谢谢回复!!!
- 平安夜散分
- 属性:ParentShowHint,ShowHint,Hint,HelpType,HelpKeyword,Constraints,大家都详细说说是什么意思好吗
- 关于dxDBGrid控件的使用讨论,请大虾们发表心得,等我赚了分再加
- 多图(small),点击后显大图
- 不知道是那里出错了,大家帮我看看。
- 大家帮帮我啊,关于listview的问题
- 在线等待!如何得到一个字段的前半部分?
- 只有27分了,你们帮帮小弟吧.
- form中定義的全局變量在quick Report中居然不能用?????哪為大哥幫我看看
frmsplash:=Tfrmsplash.create(application);
frmsplash.Show;
frmsplash.Update;
Application.CreateForm(TFrmMain, FrmMain);
Application.CreateForm(Tdm, dm);
Application.CreateForm(TFrminput, Frminput);
Application.CreateForm(TFrmreport, Frmreport);
Application.CreateForm(Tfrmfind, frmfind);
Application.CreateForm(Tfrmrpcard, frmrpcard);
sleep(2000);
frmsplash.Hide;
frmsplash.Free;
Application.Run;
呵呵,让你见笑了,我确时不懂,看原代码一下子就能明白了~~呵呵
好了,好了,代码给你发过来吧!