Page 1 of 1
Posted: Fri May 22, 2015 3:31 pm
madKernel uses Delphi's SetThreadAffinityMask, but we've discovered this kernel32 API is imported with a wrong signature up to XE5 (see
) 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.
Re: SetThreadAffinityMask issue
Posted: Tue Jun 02, 2015 7:52 pm
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.