https://bugs.winehq.org/show_bug.cgi?id=40421
--- Comment #5 from LEMONNIER p.lemonnier1@free.fr --- (In reply to Nikolay Sivov from comment #4)
This is a wrong way to check last error, it's only consistent when function returns INVALID_SET_FILE_POINTER. But if it works fine on Windows, then sure, it's a bug. Please get a WINEDEBUG=+file,+tid,+relay log running this application, if you don't know how to do it it's described here -https://wiki.winehq.org/FAQ#How_do_I_get_a_debug_trace.3F. When you have it attach it here, if it's too large, compress it first.
I can't use WINEDEBUG. It seems to me too difficult. I have try without result
"This software 'rb.exe' is the first DOS software adapted to Windows by the MILEC company. I hope that this bad usage of function 'SetFilePointer' was not only a waste of time for you but finaly really helps in discovering very-hard-to-find incomptatibilities and so helps in doing Wine always more and more safely usable. Thank you for all"