chrisoldwood / WCL

C++ Windows class library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The CString stream operators only work with an ANSI build

chrisoldwood opened this issue · comments

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.

Operators fixed. The stream now stores the length of the string in tchars.