procedure ShowFrom(AddrDLL, ProcName: pchar; GADOConn: TADOConnection; AiLeft,
AiTop, AiWidth, AiHeight: integer;GListName,GListValue:TStringList); //陪ボ怠砰
type
fromcreate = procedure(AddrDLL, funcName: pchar; GADOConn: TADOConnection;
AiLeft, AiTop, AiWidth, AiHeight: integer;GListName,GListValue:TStringList);
var
fromhand: thandle;
pfunc: tfarproc;
begin
fromhand := LoadLibrary(AddrDLL);
try
if fromhand > 32 then
begin
pfunc := GetProcAddress(fromhand, ProcName);
fromcreate(pfunc)(AddrDLL, ProcName, GADOConn, AiLeft,
AiTop, AiWidth, AiHeight,GListName,GListValue);
end
else
ShowWarningMsg('叫浪琩?笲︽祘??琌???' + AddrDLL + 'ゅン?');
finally
freelibrary(fromhand);
end;
end;