Hi all, coding C++ in VS.NET 2003
I'm modifying a project that requires me to write all my strings as _T("string"). I know it is because of UNICODE. The following two lines of code do not compile and I'm sure its because of UNICODE something or other.
szBuffer=new char[ myCString.GetLength()+10 ];
strcpy( szBuffer, myCString ); <--- " Cannot convert CString to const char* "
dc.DrawText( szBuffer, intMyCount, rect, MYOPTIONS ); <--- Can't convert param 1 from char* to LPCTSTR