acc.dpr
来自「SunwayERP框架(支持Plugin)」· DPR 代码 · 共 54 行
DPR
54 行
library ACC;
{ Important note about DLL memory management: ShareMem must be the
first unit in your library's USES clause AND your project's (select
Project-View 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 BORLNDMM.DLL shared memory manager, which must be deployed along
with your DLL. To avoid using BORLNDMM.DLL, pass string information
using PChar or ShortString parameters. }
uses
Sharemem,
SysUtils,
Forms,
ADODB,
Classes,
BaseForm in '..\Common\BaseForm.pas' {frmBaseForm},
ACC_Main in 'ACC\ACC_Main.pas' {frmACC_Main},
DBPicker in '..\Common\DBPicker.pas' {frmDBPicker};
Const
MenuStr = '财务模块';
Versions = '1.0.1';
procedure GetMenuStr(var aMenuStr:String);
begin
aMenuStr:=MenuStr;
end;
procedure Execute(aHnd:THandle;conn:TADOConnection;UID:String);
begin
if not Assigned(frmACC_Main) then
begin
frmACC_Main:=TfrmACC_Main.Create(Application);
ACC_Main.UID:=UID;
frmACC_Main.ADOConn:=conn;
frmACC_Main.Show;
end
else
frmACC_Main.BringToFront;
end;
{$R *.res}
exports
GetMenuStr,
Execute;
begin
end.
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?