|
发表于 2007-5-25 11:51:24
|
显示全部楼层
哦,那你的资源集应该如下:
unit CYCT;
interface
uses
Business.System, Business.Model, Business.Data, Business.Forms;
type
TDD = class(TBizLibrary)
private
{private declarations}
public
{public declarations}
...
static function GetPARA: string;
...
end;
implementation
static function TCYCT.GetPARA: string;
begin
Result := 'asdf';
Dialogs.ShowMessage('成功了!');
end;
访问代码是:
procedure TMainForm.Button6Click(Sender: TObject);
var
str:string;
begin
str:=CYCT.TCYCT.GetPARA;
end; |
|