[Bug 40421] it is the function used by Windows SetFilePointer
wine-bugs at winehq.org
wine-bugs at winehq.org
Tue Apr 5 10:06:13 CDT 2016
https://bugs.winehq.org/show_bug.cgi?id=40421
--- Comment #3 from LEMONNIER <p.lemonnier1 at free.fr> ---
Here is the code wich create error #87 under Wine but not under Windows:
xFPos := SetFilePointer(F, WinDef.LONG(PageNo*PageSize), NIL,
FILE_BEGIN);
Set_Last_IO_Err;
IF (Last_IO_Err = 0) THEN
(*
No error...
*)
ELSE
(*
here: Last_IO_Err = 87 !!
show 'PageNo' and 'PageSize' for control
*)
VioWriteCard(0, 22, PageNo, 12);
VioWriteCard(12, 22, PageSize, 12);
(* Show error message *)
Signal_Last_IO_Err(FALSE, PosOp, XWFN)
END
PATRICE LEMONNIER
--
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.
More information about the wine-bugs
mailing list