Hi DaniWeb Team,
I have just finished to read all about CString in the web, topic since 98 to 2009
CString is extict because it is from MFC which is extinct, ... and if i need to use CString? i found macro that import CString MFC to ATL but this work with older version of Visual Studio than mine, now i'm using VS.net 2003 " http://www.codeguru.com/cpp/com-tech/atl/atl/article.php/c67 ".
i can't understand how to resolve this problem.
i have #included "atlstr.h" and ignoring the follow specific library "MSVCRT.lib;msvcprt.lib". I know that this is not the correct solution but i don't know how to set header, library to resolve this tedium
now i see these errors:
Encode error LNK2020: unresolved token (0A0000AB) __imp_?npos@?$basic_string@GU?$char_traits@G@std@@V?$allocator@G@2@@std@@2IB
Encode error LNK2020: unresolved token (0A0000AF) __imp_?npos@?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@2IB
Encode error LNK2020: unresolved token (0A0000B2) __imp_cerr
Encode error LNK2020: unresolved token (0A0000B4) __imp_cout
Encode fatal error LNK1120: 4 unresolved externals
Encode warning LNK4049: locally defined symbol ?id@?$ctype@D@std@@2V0locale@2@A (public: static class std::locale::id std::ctype<char>::id) imported
Encode warning LNK4049: locally defined symbol ?id@?$ctype@D@std@@2V0locale@2@A (public: static class std::locale::id std::ctype<char>::id) imported
Encode warning LNK4049: locally defined symbol ?id@?$ctype@G@std@@2V0locale@2@A (public: static class std::locale::id std::ctype<unsigned short>::id) imported
Encode warning LNK4049: locally defined symbol ?id@?$ctype@G@std@@2V0locale@2@A (public: static class std::locale::id std::ctype<unsigned short>::id) imported
thanks for any suggestions