On 3/5/16, Jonas Maebe <jonas.ma...@elis.ugent.be> wrote: > One probably includes cwstring, while the other one doesn't. > AnsiCompareStr can be intercepted/replaced by widestring manages such as > cwstring.
Sample from above on Linux 32-bit: [bart@localhost ConsoleProjecten]$ ./test AnsiCompareStr('C-C','C=C') = -16 Same program, but now added cwstring to uses clause: [bart@localhost ConsoleProjecten]$ ./test AnsiCompareStr('C-C','C=C') = 28 CompareStr returns -16 in both win32 and linux-32 b.t.w. Bart _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal