Thomas Mueller - 2026-10-18

Fixed in revision #2470.

TryNum2Long, and with it TryHex2Long and TryDec2Long, now return False for an empty string and for a number that does not fit into UInt32, and Value is 0 then. The overflow is checked before multiplying, so they no longer raise EIntOverflow with {$Q+} either. The AnsiString overload now calls the string one. New tests in ConvertUtils.