Q3CString_SetString
You can use theQ3CString_SetStringfunction to set the character data of a C string object.
TQ3Status Q3CString_SetString ( TQ3StringObject stringObj, const char *string);
stringObj- A C string object.
string- On entry, a pointer a C string specifying the character data to be associated with the specified C string object.
DESCRIPTION
TheQ3CString_SetStringfunction sets the character data associated with the C string object specified by thestringObjparameter to the sequence of characters pointed to by thestringparameter. That sequence of characters should be a standard C string (that is, an array of characters terminated by the null character). The characters are copied into the specified string object's private data, so you can dispose of the array pointed to by thestringparameter ifQ3CString_SetStringreturns successfully.You should use
Q3CString_SetStringonly with string objects of typekQ3StringTypeCString.