fileseeker.dpr

来自「文件搜索的代码」· DPR 代码 · 共 31 行

DPR
31
字号
program fileseeker;

uses
  Forms,
  Windows,
  main in 'main.pas' {FormMain},
  results in 'results.pas' {FormResults},
  about in 'about.pas' {FormAbout},
  txtext in 'txtext.pas' {FormCfgText};

{$R *.res}

var
  Mutex: THandle;

begin
  Mutex := CreateMutex(nil, True, '');
  if (Mutex = 0) OR (GetLastError = ERROR_ALREADY_EXISTS) then begin
  end else begin
   Application.Initialize;
   Application.Title := 'The File Seeker v0.3';
  Application.CreateForm(TFormMain, FormMain);
  Application.CreateForm(TFormResults, FormResults);
  Application.CreateForm(TFormAbout, FormAbout);
  Application.CreateForm(TFormCfgText, FormCfgText);
  Application.Run;
   if Mutex <> 0 then
    CloseHandle(Mutex);
  end;
end.

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?