CString cs("Hello"); std::string s((LPCTSTR)cs);. std::string cannot always construct from a LPCTSTR i.e. the code will fail for UNICODE builds.
確定! 回上一頁