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

📄 acedll.dpr

📁 suite component ace report
💻 DPR
字号:
library AceDll;

{ Important note about DLL memory management: ShareMem must be the
  first unit in your library's USES clause AND your project's (select
  View-Project Source) USES clause if your DLL exports any procedures or
  functions that pass strings as parameters or function results. This
  applies to all strings passed to and from your DLL--even those that
  are nested in records and classes. ShareMem is the interface unit to
  the DELPHIMM.DLL shared memory manager, which must be deployed along
  with your DLL. To avoid using DELPHIMM.DLL, pass string information
  using PChar or ShortString parameters. }


// add any uses clauses that you will need.  The biolife below was added
// automatically by delphi when I created a new form to put my report on.
uses
  SysUtils,
  Classes,
  Dialogs,
  biolife in 'biolife.pas' {BioLifeForm};

// start with something simple like the function below to and call this from
// you main application to make sure everything is working.
function MyShowMessage(Text: PChar): Integer; export;
begin
  ShowMessage(Text);
  Result := 0;
end;

// When you have to above function working then create a form with a report
// on it and call it from a function that you will export from the dll.
function RunBiolifeReport: Integer; export;
begin
  with TBiolifeForm.Create(nil) do
  begin
    BioLifeReport.Run;
    Free;
  end;
  Result := 0;
end;

// you will need to add any functions you want visible outside of the
// dll in the exports section below
exports
  MyShowMessage, RunBiolifeReport;

begin
end.

⌨️ 快捷键说明

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