"Ferenc" == Ferenc Wagner wferi@tba.elte.hu writes:
Ferenc> The following modifications are needed to make the file tests Ferenc> pass under Windows NT 4.0 SP6. I can not test other versions, Ferenc> please write back if anything is wrong.
If different versions of windows return different error number, and we find programms that depend on that behaviour. I think the values in the test file were checked, probably on a Winxx version. Now you encounter errors on NTXX. So you should follow the advice in documentation/testing.sgml: ==== <para> When writing tests you will also encounter differences between Windows 9x and Windows NT platforms. Such differences should be treated differently from the platform issues mentioned above. In particular you should remember that the goal of Wine is not to be a clone of any specific Windows version but to run Windows applications on Unix. </para> <para> So, if an API returns a different error code on Windows 9x and Windows NT, your check should just verify that Wine returns one or the other: <screen> ok ( GetLastError() == WIN9X_ERROR || GetLastError() == NT_ERROR, ...); </screen> </para> <para> ==== Bye