On 2023-10-13 16:25, J. Gareth Moreton via fpc-devel wrote:
GetLogicalProcessorInformation returns a Boolean - if false, an error
occurred, and is handled as follows:
DiagnoseAndExit('Failed during call to GetLogicalProcessorInformation:
' + GetLastError.ToString);
GetLastError = 8 indicates "out of memory", which I will say is odd.
Nevertheless, because of such teething problems with the framework,
I'm going to remove it from "blea" for now. As it stands, please find
attached the test that appears in the merge request:
https://gitlab.com/freepascal.org/fpc/source/-/merge_requests/502
The attached version still contained reference to the framework.
The problem with 32-bit compilation of the framework was due to a
missing stdcall calling convention in the GetLogicalProcessorInformation
declaration.
Tomas
_______________________________________________
fpc-devel maillist - fpc-devel@lists.freepascal.org
https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel