Hi there,
Can std::ostringstr eam be used to get CString::GetBuf ferSetLength()-like functionality? CString provides rather convenient way to use it as a buffer, in particular for winapi functions.
Is it possible to do such a trick using std::ostringstr eam? // wostringstream, to be more accurate
Thanks in advance
Can std::ostringstr eam be used to get CString::GetBuf ferSetLength()-like functionality? CString provides rather convenient way to use it as a buffer, in particular for winapi functions.
Code:
//just an illustration CString str; SHGetSpecialFolderPath( 0, str.GetBufferSetLength(.. return str;
Thanks in advance
Comment