[cvs-nhc98] In portable Hat module, change PackedString to CString for