function GetProcessAffinityMask hasn't got real correct type declarations
Original Reporter info from Mantis: Delphi-Laie
-
Reporter name:
Original Reporter info from Mantis: Delphi-Laie
- Reporter name:
Description:
Firstly, is it not the here offered highest product version number 2.4.3 but the actual highest (2.5.1) of fpc. This compiler doesn't know the real correct types of function GetProcessAffinityMask namly
ProcessAffinityMask,SystemAffinityMask:DWORD_PTR
but only longword.
With my 32 bit lazarus with fpc version number 2.2.4 I haven't got this problem, this fp compiler knows the correct DWORD_PTR type declarations of this function.
But I can help myself temporarly with a "manual" external function call (from kernel32.dll) in the source code. This does function in lazarus/fpc 64 bit for windows with the correct type declarations.
Greetings and regards
Delphi-Laie
Mantis conversion info:
- Mantis ID: 18434
- OS: Windows
- OS Build: 7 (6.1)
- Platform: 64 Bit
- Version: 2.4.3
- Fixed in version: 2.4.4
- Fixed in revision: 16778 (#7624d5f1)