[Lazarus] Codetools vs compiler

Mattias Gaertner nc-gaertnma at netcologne.de
Sat Sep 20 14:44:22 CEST 2014

On Sat, 20 Sep 2014 13:42:44 +0300
patspiper <patspiper at gmail.com> wrote:

> Hi,
> While trying to fix bug http://bugs.freepascal.org/view.php?id=26651 
> (for WinCE), the compiler complained with:
> Identifier not found "GetProcessAffinityMask" (in utf8process.pp).
> However, codetools' find declaration locates the function in 
> fpc/rtl/win/wininc/redef.inc.

included in fpc 2.6.4 by

which looks right to me.
> Where's the catch?
> Note: GetProcessAffinityMask is defined as well in 
> fpc/rtl/win/wininc/func.inc (inc file is used for Win32/64 but not for 
> WinCE).

They differ by the type of hProcess: THandle vs HANDLE. Maybe there is
a difference on WinCE?


More information about the Lazarus mailing list