Hello,
madKernel uses Delphi's SetThreadAffinityMask, but we've discovered this kernel32 API is imported with a wrong signature up to XE5 (see
http://qc.embarcadero.com/wc/qcmain.aspx?d=121460) The effect is that on any machine with 32 or more cores, the call can (and will) fail.
Just a heads up for anyone encountering unexplainable crashes.
SetThreadAffinityMask issue
Re: SetThreadAffinityMask issue
Thanks for the heads-up. FWIW, madKernel doesn't officially support 64bit compilation yet, so it's not really an issue right now. The DWORD_PTR is the same as DWORD when compiling in 32bit.
Got some 64bit modifications for madKernel from a user, though, so there might be a 64bit version available soon, though.
Got some 64bit modifications for madKernel from a user, though, so there might be a 64bit version available soon, though.