Ini_GetInt uses toolbox function StrToInt to obtain the int value read from file and it's not capable of reading hex values (result is "Invalid integer number" error). You can either add your own Ini_GetHex function to the instrument (which is distributed in source code) or use Ini_GetStringCopy or Ini_GetStringIntoBuffer to obtain the string to scan to obtain the hex value.