Acad::ErrorStatus acutNewString(
const ACHAR* pInput,
ACHAR*& pOutput);
This function makes a copy of the pInput string and sets pOutput to point to the resulting copy.
Acad::ErrorStatus acutUpdString(
const ACHAR* pInput,
ACHAR*& pOutput);
This function makes a copy of the pInput string and sets pOutput to point to the resulting copy. If pOutput is currently pointing to any allocated memory, then that memory is deallocated even if pInput is NULL.
inline void acutDelString(
wchar_t *& pString);
This function is designed to be used on memory allocated via acutNewString(), acutNewBuffer(), and acutUpdString(). It deallocates the memory pointed to by pString and sets pString to NULL.