You could use MCAutoStringRefAsCString here...