"Jonas Maebe" <jonas.ma...@elis.ugent.be> wrote in message news:6ef537cb-d266-4034-8c96-8286158ac...@elis.ugent.be...
> 1) Whenever I compile "single = min(single,single)" I have to add math.min > or the win32 compiler complains and expects longints instead. Is there a > difference between the RTL in the two versions? > Compile with -vh to see which declaration the compiler finds when the > compilation fails. Max(LongInt,LongInt): LongInt > TCriticalSection is not a class, it's a Win API struct. It is a class in D7, SyncObjs.pas. And understood by the WinCE compiler, at least it seems so. Even if it just maps to the WinAPI, it is still a class. _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal