关于调用DLL中的函数,出现问题
肥仔胧 2006-03-19 12:23:01 以上函数写在exe文件中然后再调用,可以实现效果
然后写在Dll中,再调用则失效
何解?
procedure SetDataGridFootType(DataGrid: TDBGridEh;
FFieldName: PChar; FType: TFooterValueType);
begin
with DataGrid do
begin
FooterRowCount:=1;
if not SumList.Active then SumList.Active:=true;
if FindColumn(FFieldName)<>nil then
FieldColumns[FFieldName].Footer.ValueType:=fvtSum;
end;
end;