You can also use the conversion macros.


Code:
 
USES_CONVERSION;
 
std::wstring val
CString src

val = T2W( src );