CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2002
    Posts
    73

    How do you get CString in console apps?

    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

  2. #2
    Join Date
    Sep 2002
    Location
    Maryland - Fear The Turtle!
    Posts
    7,537

    Re: How do you get CString in console apps?

    <afx.h>

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

  3. #3
    Join Date
    May 2000
    Location
    KY, USA
    Posts
    18,652

    Re: How do you get CString in console apps?

    Take a look at the following FAQ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured