How do i use a CString in a non-MFC app?
-
What do i include? WHen i try to declare a CString it says undeclared identifier. Thanks.
-
What do i include? WHen i try to declare a CString it says undeclared identifier. Thanks.
Unless you are using WTL you can't, because the MFC version of CString requires some MFC Internals. There is a WTL version but this requires you to use ATL and WTL. John
-
What do i include? WHen i try to declare a CString it says undeclared identifier. Thanks.
VC NET Use ATL::CString #include <atlstr.h> In VC 6, you can use WTL::CString if you download WTL, but the class in WTL 3.1 was not incredibly good. Regards, R.
-
VC NET Use ATL::CString #include <atlstr.h> In VC 6, you can use WTL::CString if you download WTL, but the class in WTL 3.1 was not incredibly good. Regards, R.
-
Sorry, seems that the rest of my post got lost :( ... OK, Ramon gave you the right thing ... ~RaGE();
Why not use stl string. its much better than the CString and feature rich. Easy o use. If u r unsure why not peek into "Thinking in C++" by Bruce Eckel Vol 2. @ mindview.net:-O