On Thu, 31 Jul 2008, Szakáts Viktor wrote: Hi Viktor,
> For these tests I was using BCC 5.5.1, with these > switches (notably debug switches): > C_USR=-DUNICODE -v -y > I've now retried with a fully default build, with > no custom switches, but the effect is still there. > Even more strangely, I'm getting the same (wrong) > results with an MSVS 2005 (MSVC++ 14) build. > I've also checked MSVS 2008, to no avail. > This is pretty strange. > [ I'll try to do MinGW tests, but that will take > long as it was years ago when I have linked a test > .exe with it. ] You do not have too. I've just located the reason of problem. Just simply I was not writting anything for DOS/Windows for too long time. On this systems fopen() without "b" flag strip '\r' from the stream so CRC was wrongly calculated for such files. I'll commit fix in a while. best regards, Przemek _______________________________________________ Harbour mailing list Harbour@harbour-project.org http://lists.harbour-project.org/mailman/listinfo/harbour