Lazarus中文社区

 找回密码
 立即注册(注册审核可向QQ群索取)

QQ登录

只需一步,快速开始

Lazarus IDE and 组件 下载地址版权申明
查看: 3795|回复: 2

有人在WIN64下用过zeos吗?有用过的朋友请说说有没有问题,谢了!

[复制链接]

该用户从未签到

发表于 2011-3-18 10:31:38 | 显示全部楼层 |阅读模式
总提示地址错,搞不清是否zeos的问题。

环境:
win2003 x64 server
fpc2.2.4
zeos6.6.6
回复

使用道具 举报

该用户从未签到

 楼主| 发表于 2011-3-21 19:31:19 | 显示全部楼层
在官方的BUG REPORT中找到此BUG,用7.0alpha可以解决。已在win2003x64上试过,确实解决了问题。
回复 支持 反对

使用道具 举报

该用户从未签到

 楼主| 发表于 2011-3-22 10:30:32 | 显示全部楼层
查看了一下7.0alpha的代码,将针对此BUG的代码复制过来就可以了,不用升级到7.0。感觉现在的7.0还不稳定。

{**
  Go to specified row.
  @param RowNo a number of the row.
  @return <code>True</code> if the row successfully located.
}
function TZAbstractRODataset.GotoRow(RowNo: Integer): Boolean;
var
  Index: Integer;
begin
  Result := False;
  Index := CurrentRows.IndexOf(Pointer(RowNo));
  if Index >= 0 then
  begin
    if Index < CurrentRow then
      CheckBiDirectional;
    CurrentRow := Index + 1;
    Result := True;
  end;
end;

{**
  Performs internal switch to the specified bookmark.
  @param Bookmark a specified bookmark.
}
procedure TZAbstractRODataset.InternalGotoBookmark(Bookmark: Pointer);
begin
  if not GotoRow(PInteger(Bookmark)^) then
    raise EZDatabaseError.Create(SBookmarkWasNotFound);
end;
回复 支持 反对

使用道具 举报

*滑块验证:

本版积分规则

QQ|手机版|小黑屋|Lazarus中国|Lazarus中文社区 ( 鄂ICP备16006501号-1 )

GMT+8, 2025-5-2 11:56 , Processed in 0.031687 second(s), 10 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表