2 Star 0 Fork 1

Tomato/ZhiDev_D7_JingYou

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
calline.dpr 2.02 KB
一键复制 编辑 原始数据 按行查看 历史
Tomato 提交于 2024-02-01 17:16 . Initial commit
program calline;
uses
Forms,
windows,
main in 'main.pas' {Form_line},
Unit0_globalVariant in 'Unit0_globalVariant.pas',
OSstudy in 'OSstudy.pas' {FormOS},
FindPoint in 'FindPoint.pas' {FormFind},
StepCopy in 'StepCopy.pas' {FormStepCopy},
ModfyN in 'ModfyN.pas' {FormModfyNstep},
InsertNstep in 'InsertNstep.pas' {FormInsertN},
DeleteNstep in 'DeleteNstep.pas' {FormDeleteN},
MoveNstep in 'MoveNstep.pas' {FormMoveN},
InsertCopyNstep in 'InsertCopyNstep.pas' {FormInsertCopyN},
PNenter in 'PNenter.pas' {FormPN},
Unit1_MainCreateShowlCode in 'Unit1_MainCreateShowlCode.pas',
Unit2_Communication in 'Unit2_Communication.pas',
LoadFile in 'LoadFile.pas' {FormLoad},
LogHeadTips in 'LogHeadTips.pas' {FormLogHead},
Unit4_logFileCode in 'Unit4_logFileCode.pas',
UnitDM in 'UnitDM.pas' {DMLJK: TDataModule};
{$R *.RES}
var Mutex:THandle;
begin
Mutex := CreateMutex(nil,true,'one'); {第3个参数任意设置}
if (GetLastError <> ERROR_ALREADY_EXISTS)
or ( (Readchis('Comm Para','LANen')<>'0') and (Readchis('Comm Para','LANen')<>'') ) //有网口通信,可多个启动
or (Readchis('Comm Para','FormLeft')<>'') //双软件系统启动
then begin
Application.Initialize;
Application.Title := '';
Application.CreateForm(TDMLJK, DMLJK);
Application.CreateForm(TForm_line, Form_line);
Application.CreateForm(TFormOS, FormOS);
Application.CreateForm(TFormFind, FormFind);
Application.CreateForm(TFormStepCopy, FormStepCopy);
Application.CreateForm(TFormModfyNstep, FormModfyNstep);
Application.CreateForm(TFormInsertN, FormInsertN);
Application.CreateForm(TFormDeleteN, FormDeleteN);
Application.CreateForm(TFormMoveN, FormMoveN);
Application.CreateForm(TFormInsertCopyN, FormInsertCopyN);
Application.CreateForm(TFormPN, FormPN);
Application.CreateForm(TFormLoad, FormLoad);
Application.CreateForm(TFormLogHead, FormLogHead);
Application.Run;
end else
Application.MessageBox('The Program is Runing...该程序正在运行!','Tips提示',MB_OK);
ReleaseMutex(Mutex); {释放资源}
end.
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Pascal
1
https://gitee.com/wx_fb0d806ee4/ZhiDev_D7_JingYou.git
[email protected]:wx_fb0d806ee4/ZhiDev_D7_JingYou.git
wx_fb0d806ee4
ZhiDev_D7_JingYou
ZhiDev_D7_JingYou
master

搜索帮助