Quote Originally Posted by cilu
Try the attached project. It works perfectly for me (VC++ 6.0).
Note the error message he got: "cannot convert from 'const char [6]' to 'ATL::CStringT<BaseType,StringTraits>'" This looks like VC++ 7.x.