I just moved from VC6 to VS.NET 2005 and CString seems to be a template now? I tried the following:
CString myError = "Test";
and I get an error saying:
error C2440: 'initializing' : cannot convert from 'const char ' to 'ATL::CStringT<BaseType,StringTraits>'
How should I use CString now? Any examples?