+ -
当前位置:首页 → 问答吧 → 在用Ehlib4.2.16时,会什么有时会报内存错误?有时又不会。。

在用Ehlib4.2.16时,会什么有时会报内存错误?有时又不会。。

时间:2011-09-01

来源:互联网

用EHlib的,DBeditEH时,经常在有记录的时候,打开窗体(inseret)就出现错误。

有时可以新增数据,有时又不可以,提示内存错误

出错时,跳转到EHlib的包里的错误行,请问这是什么原因?

Delphi(Pascal) code

procedure TCustomDBEditEh.SetText(const Value: String);
begin
  if (csDesigning in ComponentState) and not DataIndepended then Exit;
  if not DataIndepended then DataSource.DataSet.Edit;  //Ehlib里的错误行
  InternalSetText(Value);
  if FDataPosting then Exit;
  try
    UpdateData;
  except
    FDataLink.Reset;
    raise;
  end;
end;



作者: cowbo   发布时间: 2011-09-01

给顶下,没有用过它

作者: varick_zhong   发布时间: 2011-09-02

跟踪吧,应该跟你的代码有关系

作者: bdmh   发布时间: 2011-09-02

热门下载

更多