Click to See Complete Forum and Search --> : How do you get CString in console apps?


lance743
February 14th, 2005, 11:36 AM
I enjoyed using CString in MFC visual programs but what include file would i need to add to get CString to work in a win32 console app?

thanks

Mick
February 14th, 2005, 11:41 AM
<afx.h>

Just create a console app with MFC support via the app wizard. But it would be better if you used the STL.

Andreas Masur
February 14th, 2005, 12:22 PM
Take a look at the following FAQ (http://www.codeguru.com/forum/showthread.php?s=&threadid=231164)...