A mere `MCStringConvertToCString(*p_name, t_base_name)` would do the job.