[fpc-pascal] WinCE / Win32 compilation

Uffe Kousgaard uffe at routeware.dk
Sat Oct 16 12:11:53 CEST 2010


I am still compiling delphi code and do now compile for both win32 and 
winCE. WinCE works (but executable untested), while win32 complains a few 
places:

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?

I have not been able to setup a small example, showing this. Unfortunately.

Max function has the same issue.

2) I use TCriticalsection, but get this message: Error: Unknown record field 
identifer "Create". I get similar error when calling enter, leave or free 
methods.

This one stops me at the moment.


TIA
Uffe Kousgaard






More information about the fpc-pascal mailing list