Share

acutNewString

C++

Acad::ErrorStatus acutNewString(
    const ACHAR* pInput, 
    ACHAR*& pOutput
);

File

summinfo.h

Description

Deprecated. Makes a copy of the pInput string and sets pOutput to point to the resulting copy. Any memory currently pointed to by pOutput will be lost.

Returns Acad::eOk if successful. If the memory allocation for the string copy fails, returns Acad::eOutOfMemory.

Parameters

Parameters Description
pInput Input string to copy
pOutput Output pointer to string copy

Use Instead

Acad::ErrorStatus acutNewString(ACHAR *& pOutput, Adesk::Int32 nNumChars);

Previous File

dbmain.h

Was this information helpful?