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

📄 project1.dpr

📁 插件开发学习 delphi 适合初学者
💻 DPR
字号:
program Project1;

uses
  windows,
  Forms,
  uMain in 'uMain.pas' {mainfrm},
  uSECData in 'uSECData.pas' {SECData: TDataModule},
  uIAppImp in 'uIAppImp.pas',
  Controls in 'Controls.pas';

{$R *.res}

type
  TShowLogo=procedure;stdcall;
  TReleaseLogo=procedure;stdcall;

var
  ShowLogo:TShowLogo;
  ReleaseLogo:TReleaseLogo;
  DllHandle:THandle;

begin
  Application.Initialize;
  Application.Title := 'CartmanLand v1.0';
  //DllHandle:=Loadlibrary('Secfrm.dll');
  try
    {if DllHandle<>0 then
    begin
      @ShowLogo:=GetProcAddress(DllHandle,'ShowLogo');
      if @ShowLogo<>nil then
        ShowLogo;
    end; }
    //sleep(2000);
  App:=TApp.Create;
  App.Application:=Application;
  Application.CreateForm(TSECData, SECData);
  Application.CreateForm(Tmainfrm, mainfrm);
  finally
    {if DllHandle<>0 then
    begin
      @ReleaseLogo:=GetProcAddress(DllHandle,'ReleaseLogo');
      if @ReleaseLogo<>nil then
        ReleaseLogo;
    end;
    FreeLibrary(DllHandle); }
  end;
  Application.Run;
end.

⌨️ 快捷键说明

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