The CString stream operators only work with an ANSI build
chrisoldwood opened this issue · comments
Chris Oldwood commented
The following CString
stream operators were not fixed up when the default build type was switched from ANSI to Unicode.
void operator >>(WCL::IInputStream& rStream, CString& rString)
void operator <<(WCL::IOutputStream& rStream, CString& rString)
Note: The bug was reported by Tim McCarthy.
Chris Oldwood commented
Operators fixed. The stream now stores the length of the string in tchars.