⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cpuinfo.~dpr

📁 pipe类 pipe类 pipe类 pipe类 pipe类
💻 ~DPR
字号:
program CPUInfo;

uses
  FastMM4,
  Forms,
  Windows,
  MainUn in 'MainUn.pas' {MainFrm},
  CITools in '..\CITools\CITools.pas';

{$R *.res}

var UM, FW: THandle;
begin 
  UM:=CreateFileMapping($FFFFFFFF,nil,PAGE_READONLY,0,32,'OSCIMapping');
  if UM=0 then halt
          else
          if GetLastError=ERROR_ALREADY_EXISTS then
            begin
              FW:=FindWindowEx(0,0,nil,'OverSoft CPU Informer');
              if FW<>0 then SetForegroundWindow(FW);
              halt;
            end; 
  Application.Initialize;
  Application.Title := 'OverSoft CPU Informer';
  Application.CreateForm(TMainFrm, MainFrm);
  Application.Run;
end.

⌨️ 快捷键说明

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