Y
yyy_as
Unregistered / Unconfirmed
GUEST, unregistred user!
代码如下,fp是否需要赋值,请指教:
procedure TfrmFindPrint.Button10Click(Sender: TObject);
var
fp:F1FileSpec;
begin
F1Book1.SaveFileDlgEx('',fp)
//错误内容:地址找不到
F1Book1.Write(fp.Name,fp.Type_);
end;
procedure TF1Book1.SaveFileDlgEx(const Title: WideString
const pFileSpec: IF1FileSpec);
begin
DefaultInterface.SaveFileDlgEx(Title, pFileSpec);//运行时pFileSpec=nil
end;
procedure TfrmFindPrint.Button10Click(Sender: TObject);
var
fp:F1FileSpec;
begin
F1Book1.SaveFileDlgEx('',fp)
//错误内容:地址找不到
F1Book1.Write(fp.Name,fp.Type_);
end;
procedure TF1Book1.SaveFileDlgEx(const Title: WideString
const pFileSpec: IF1FileSpec);
begin
DefaultInterface.SaveFileDlgEx(Title, pFileSpec);//运行时pFileSpec=nil
end;