[Lazarus] Codetools vs compiler

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 20 19:01:15 CEST 2014


On Sat, 20 Sep 2014 19:14:31 +0300
patspiper <patspiper at gmail.com> wrote:

>[...]
> I guess I found the cause. The problem is 2 fold:
> 
> 1- The function GetProcessAffinityMask is not defined for WinCE, as it 
> is not defined in fpc/rtl/wince/wininc/redef.inc (as opposed to 
> fpc/rtl/win/wininc/redef.inc which includes GetProcessAffinityMask). 
> Hence this function should be eliminated from utf8process.pp for WinCE.
> 
> 2- Codetools are still pointing to the win version of redef.inc 
> eventhough the project's LCLwidgetset is WinCE.

LCL widget set <> OS.
The LCL setting has nothing to do with the FPC sources.

You must set Target OS to Wince. By default this will select LCL
widgetset wince. Not the other way round.

Mattias




More information about the Lazarus mailing list