Func _hextostring($shex) If NOT (StringLeft($shex, 2) == "0x") Then $shex = "0x" & $shex Return BinaryToString($shex) EndFunc