function IsWin64: Boolean;
BooleanIsWin64 reports the bitness of the compiled process so DLL lookup can choose the matching bundled folder
It is based on the WIN64 compiler symbol, not on the operating system bitness
if IsWin64 then
SubDir := 'Win64'
else
SubDir := 'Win32';