Since it crops up frequently: a) VC7 : makes the CStringT template available for both ATL and MFC projects b) WTL (clickety[^]) : provides a 1:1 CString clone for ATL/WTL projects under VC6. The ATL/WTL framework emphasizes "link on demand", so you could basically create a raw Win32 application/library with CString c) On Codeguru you'll find a macro that extracts the CString sources from your MFC library, so oyu can add them to any other project d) there are some CString clones[^]. However, with the availability of WTL, there's rarely a need, unless you need to be portable e) finally, you can "rip out" the WTL CString class. All that CString needs from the framework is the Ressource HINSTANCE for implementing LoadString and similar functions. (IIRC there are some more system-dependent elements, which can be easily replaced)
we are here to help each other get through this thing, whatever it is Vonnegut jr.