Use Wide_Character'First instead of Wide_Character'Val(0) Removed the terminator parameter in the H3.Strings