Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. ATL / WTL / STL
  4. Cstring with ATL

Cstring with ATL

Scheduled Pinned Locked Moved ATL / WTL / STL
csharpquestionc++visual-studio
6 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    JabraJabra
    wrote on last edited by
    #1

    how can i use CString with ATL in Visual Studio .NET?

    R 1 Reply Last reply
    0
    • J JabraJabra

      how can i use CString with ATL in Visual Studio .NET?

      R Offline
      R Offline
      Ralph Wetzel
      wrote on last edited by
      #2

      Avi Laviad wrote: how can i use CString with ATL in Visual Studio .NET? #include <atlstr.h> ... to use ATL::CString or #include <atlmisc.h> ... to use WTL::CString Greetings, Ralph

      T J 2 Replies Last reply
      0
      • R Ralph Wetzel

        Avi Laviad wrote: how can i use CString with ATL in Visual Studio .NET? #include <atlstr.h> ... to use ATL::CString or #include <atlmisc.h> ... to use WTL::CString Greetings, Ralph

        T Offline
        T Offline
        ThatsAlok
        wrote on last edited by
        #3

        Ralph Wetzel wrote: #include ... to use ATL::CString #include ... to use WTL::CString I Couldn't find these two file in both of my compiler i.e. Visual Studio 6.0 and Visual Studio .Net. Could you please tell how to use this two class. thanks


        "I Think this Will Help"

        visit me at http://www.thisisalok.tk
        C 1 Reply Last reply
        0
        • R Ralph Wetzel

          Avi Laviad wrote: how can i use CString with ATL in Visual Studio .NET? #include <atlstr.h> ... to use ATL::CString or #include <atlmisc.h> ... to use WTL::CString Greetings, Ralph

          J Offline
          J Offline
          JabraJabra
          wrote on last edited by
          #4

          it worked fine, 10x!

          1 Reply Last reply
          0
          • T ThatsAlok

            Ralph Wetzel wrote: #include ... to use ATL::CString #include ... to use WTL::CString I Couldn't find these two file in both of my compiler i.e. Visual Studio 6.0 and Visual Studio .Net. Could you please tell how to use this two class. thanks


            "I Think this Will Help"

            visit me at http://www.thisisalok.tk
            C Offline
            C Offline
            conman110
            wrote on last edited by
            #5

            You need atlmisc.h which comes with the other WTL headers you have to download from microsoft. Then you need to define _WTL_USE_CSTRING to forward declare the CString class. Look at the Beginner WTL tutorials here at codeproject (for example WTL for MFC programmers Part II covers including CString right at the beginning) --Constantin

            T 1 Reply Last reply
            0
            • C conman110

              You need atlmisc.h which comes with the other WTL headers you have to download from microsoft. Then you need to define _WTL_USE_CSTRING to forward declare the CString class. Look at the Beginner WTL tutorials here at codeproject (for example WTL for MFC programmers Part II covers including CString right at the beginning) --Constantin

              T Offline
              T Offline
              ThatsAlok
              wrote on last edited by
              #6

              i am extremly thankful to u! Thanks once again.


              "I Think this Will Help"

              visit me at http://www.thisisalok.tk
              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups