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. C / C++ / MFC
  4. Cstring instance declared, but "not found" while debugging *IMAGE

Cstring instance declared, but "not found" while debugging *IMAGE

Scheduled Pinned Locked Moved C / C++ / MFC
c++tutorialquestionlearning
21 Posts 10 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.
  • H Offline
    H Offline
    hanhao
    wrote on last edited by
    #1

    hi, i am some newb in MFC programming now dealing with some problems while learning other's codes [IMG]http://img145.echo.cx/img145/8175/cstring3uk.jpg\[/IMG\] as you can see from the image, i am running debugging mode going step by step up to that yellow arrow (circled in red) i noticed that in the "watcher" section at the bottom right it says the symbol "str" is not found what puzzles me is that "str" has already been declared already (circled in red) and how is it possible that it cannot be found? shouldnt it be some text? or at least empty text "" ? i hovered my mouse over "str" and nothing came up :confused: could it be some declarations i left out? i got no idea please advise and enlighten me :wave: - winxp - VC6.0++, SP5 - MFC style

    C V V 3 Replies Last reply
    0
    • H hanhao

      hi, i am some newb in MFC programming now dealing with some problems while learning other's codes [IMG]http://img145.echo.cx/img145/8175/cstring3uk.jpg\[/IMG\] as you can see from the image, i am running debugging mode going step by step up to that yellow arrow (circled in red) i noticed that in the "watcher" section at the bottom right it says the symbol "str" is not found what puzzles me is that "str" has already been declared already (circled in red) and how is it possible that it cannot be found? shouldnt it be some text? or at least empty text "" ? i hovered my mouse over "str" and nothing came up :confused: could it be some declarations i left out? i got no idea please advise and enlighten me :wave: - winxp - VC6.0++, SP5 - MFC style

      C Offline
      C Offline
      Colin Angus Mackay
      wrote on last edited by
      #2

      Before the trauma of posting a programming question in the lounge sets in - You may like to post your question in the appropriate forum[^].


      My: Blog | Photos WDevs.com - Open Source Code Hosting, Blogs, FTP, Mail and More

      1 Reply Last reply
      0
      • H hanhao

        hi, i am some newb in MFC programming now dealing with some problems while learning other's codes [IMG]http://img145.echo.cx/img145/8175/cstring3uk.jpg\[/IMG\] as you can see from the image, i am running debugging mode going step by step up to that yellow arrow (circled in red) i noticed that in the "watcher" section at the bottom right it says the symbol "str" is not found what puzzles me is that "str" has already been declared already (circled in red) and how is it possible that it cannot be found? shouldnt it be some text? or at least empty text "" ? i hovered my mouse over "str" and nothing came up :confused: could it be some declarations i left out? i got no idea please advise and enlighten me :wave: - winxp - VC6.0++, SP5 - MFC style

        V Offline
        V Offline
        Vikram A Punathambekar
        wrote on last edited by
        #3

        Which part of Please do NOT post programming questions or ads to this forum didn't you understand? :) Before the others give you grief, go to the right forum; and delete this post unless you want to be flamed. :) Cheers, Vikram.


        http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

        W T 2 Replies Last reply
        0
        • V Vikram A Punathambekar

          Which part of Please do NOT post programming questions or ads to this forum didn't you understand? :) Before the others give you grief, go to the right forum; and delete this post unless you want to be flamed. :) Cheers, Vikram.


          http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

          W Offline
          W Offline
          Weiye Chen
          wrote on last edited by
          #4

          It's all Nish's fault. Look at the title of his post below. It's misleading other people to think that this is a programming forum. ;P Weiye Chen Life is hard, yet we are made of flesh...

          N 1 Reply Last reply
          0
          • W Weiye Chen

            It's all Nish's fault. Look at the title of his post below. It's misleading other people to think that this is a programming forum. ;P Weiye Chen Life is hard, yet we are made of flesh...

            N Offline
            N Offline
            NormDroid
            wrote on last edited by
            #5

            Yep! a typical case of "One rule for one, another rule for another", which seems be case in the lounge. Depending on your popularity factor, posting Programming or near Programming question, a 'blind eye' will be taken. Blogless

            M T 2 Replies Last reply
            0
            • N NormDroid

              Yep! a typical case of "One rule for one, another rule for another", which seems be case in the lounge. Depending on your popularity factor, posting Programming or near Programming question, a 'blind eye' will be taken. Blogless

              M Offline
              M Offline
              Michael P Butler
              wrote on last edited by
              #6

              norm.net wrote: Yep! a typical case of "One rule for one, another rule for another", which seems be case in the lounge. Depending on your popularity factor, posting Programming or near Programming question, a 'blind eye' will be taken. I suppose it depends on your point of view. To me, Nish didn't post a programming question. He started a discussion on a programming subject. He wasn't asking for help with his programming, he was asking for a point of view on a programming concept. I don't know about you, but this is the kind of thing me and other programmers discuss over lunch or other non-working get-togethers. So I think it is a valid lounge topic. Michael CP Blog [^] Development Blog [^]

              V N 2 Replies Last reply
              0
              • M Michael P Butler

                norm.net wrote: Yep! a typical case of "One rule for one, another rule for another", which seems be case in the lounge. Depending on your popularity factor, posting Programming or near Programming question, a 'blind eye' will be taken. I suppose it depends on your point of view. To me, Nish didn't post a programming question. He started a discussion on a programming subject. He wasn't asking for help with his programming, he was asking for a point of view on a programming concept. I don't know about you, but this is the kind of thing me and other programmers discuss over lunch or other non-working get-togethers. So I think it is a valid lounge topic. Michael CP Blog [^] Development Blog [^]

                V Offline
                V Offline
                Vikram A Punathambekar
                wrote on last edited by
                #7

                Though both norm.net and you have valid points, I'm more likely to side with you. Michael P Butler wrote: this is the kind of thing me and other programmers discuss over lunch or other non-working get-togethers. Exactly. :) Cheers, Vikram.


                http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                1 Reply Last reply
                0
                • V Vikram A Punathambekar

                  Which part of Please do NOT post programming questions or ads to this forum didn't you understand? :) Before the others give you grief, go to the right forum; and delete this post unless you want to be flamed. :) Cheers, Vikram.


                  http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                  T Offline
                  T Offline
                  TheGreatAndPowerfulOz
                  wrote on last edited by
                  #8

                  old-message-board-nazi-fart

                  V 1 Reply Last reply
                  0
                  • T TheGreatAndPowerfulOz

                    old-message-board-nazi-fart

                    V Offline
                    V Offline
                    Vikram A Punathambekar
                    wrote on last edited by
                    #9

                    WHAT? :wtf: > old I'm 21 years young. > message board Yes, this is indeed a message board. > nazi I'm North Indian, which I guess makes me Aryan, but I'm certainly not racist, so I don't see how I can be called a Nazi. > fart I eat healthy food, and I eat in moderation. It's a long time since I f*rted. Only one out of your four charges is valid. And I don't think posting on a message board is a crime. :) Are you criticizing me for my previous post? If so, I'm sorry, you're mistaken. Was my post in any way combative or threatening or demeaning? I certainly think I was polite, but if you disagree, I can't help it. Cheers, Vikram.


                    http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                    T T 2 Replies Last reply
                    0
                    • N NormDroid

                      Yep! a typical case of "One rule for one, another rule for another", which seems be case in the lounge. Depending on your popularity factor, posting Programming or near Programming question, a 'blind eye' will be taken. Blogless

                      T Offline
                      T Offline
                      TheGreatAndPowerfulOz
                      wrote on last edited by
                      #10

                      Sour grapes. norm.net wrote: Blogless COOL! :-D

                      N 1 Reply Last reply
                      0
                      • V Vikram A Punathambekar

                        WHAT? :wtf: > old I'm 21 years young. > message board Yes, this is indeed a message board. > nazi I'm North Indian, which I guess makes me Aryan, but I'm certainly not racist, so I don't see how I can be called a Nazi. > fart I eat healthy food, and I eat in moderation. It's a long time since I f*rted. Only one out of your four charges is valid. And I don't think posting on a message board is a crime. :) Are you criticizing me for my previous post? If so, I'm sorry, you're mistaken. Was my post in any way combative or threatening or demeaning? I certainly think I was polite, but if you disagree, I can't help it. Cheers, Vikram.


                        http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                        T Offline
                        T Offline
                        TheGreatAndPowerfulOz
                        wrote on last edited by
                        #11

                        Me thinketh the lady doth protest too much! Gee, did I touch a nerve, or what? LOL.

                        V 1 Reply Last reply
                        0
                        • T TheGreatAndPowerfulOz

                          Sour grapes. norm.net wrote: Blogless COOL! :-D

                          N Offline
                          N Offline
                          NormDroid
                          wrote on last edited by
                          #12

                          ahz wrote: Sour grapes. Not for me, maybe for others. Blogless

                          1 Reply Last reply
                          0
                          • T TheGreatAndPowerfulOz

                            Me thinketh the lady doth protest too much! Gee, did I touch a nerve, or what? LOL.

                            V Offline
                            V Offline
                            Vikram A Punathambekar
                            wrote on last edited by
                            #13

                            ahz wrote: Me thinketh the lady doth protest too much!

                            LADY? :wtf:

                            ahz wrote: Gee, did I touch a nerve, or what? Nope. Not in the least bit. :) If somebody thinks I made a mistake, I explain my side of the argument. But if they persist, they're free to disagree. :) Cheers, Vikram.


                            http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                            T 1 Reply Last reply
                            0
                            • V Vikram A Punathambekar

                              ahz wrote: Me thinketh the lady doth protest too much!

                              LADY? :wtf:

                              ahz wrote: Gee, did I touch a nerve, or what? Nope. Not in the least bit. :) If somebody thinks I made a mistake, I explain my side of the argument. But if they persist, they're free to disagree. :) Cheers, Vikram.


                              http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                              T Offline
                              T Offline
                              TheGreatAndPowerfulOz
                              wrote on last edited by
                              #14

                              It's a quote from a shakespeare play. As if you didn't know. LOL

                              1 Reply Last reply
                              0
                              • M Michael P Butler

                                norm.net wrote: Yep! a typical case of "One rule for one, another rule for another", which seems be case in the lounge. Depending on your popularity factor, posting Programming or near Programming question, a 'blind eye' will be taken. I suppose it depends on your point of view. To me, Nish didn't post a programming question. He started a discussion on a programming subject. He wasn't asking for help with his programming, he was asking for a point of view on a programming concept. I don't know about you, but this is the kind of thing me and other programmers discuss over lunch or other non-working get-togethers. So I think it is a valid lounge topic. Michael CP Blog [^] Development Blog [^]

                                N Offline
                                N Offline
                                NormDroid
                                wrote on last edited by
                                #15

                                Michael P Butler wrote: To me, Nish didn't post a programming question. It gets to a fine line discussion/question I'm not splitting hairs, I've seen newbies and near newbies dragged backwards through the bushes for posting similar messages, yet when a popular long timer posts similar material the blind eye approach is taken. It's merely an general observation and my opinion. Blogless

                                M 1 Reply Last reply
                                0
                                • N NormDroid

                                  Michael P Butler wrote: To me, Nish didn't post a programming question. It gets to a fine line discussion/question I'm not splitting hairs, I've seen newbies and near newbies dragged backwards through the bushes for posting similar messages, yet when a popular long timer posts similar material the blind eye approach is taken. It's merely an general observation and my opinion. Blogless

                                  M Offline
                                  M Offline
                                  Michael P Butler
                                  wrote on last edited by
                                  #16

                                  norm.net wrote: It gets to a fine line discussion/question I'm not splitting hairs, I've seen newbies and near newbies dragged backwards through the bushes for posting similar messages, yet when a popular long timer posts similar material the blind eye approach is taken. It's merely an general observation and my opinion. You have a fair point. Newbies on any site always get a rougher time than those who are on the staff or who are well-respected members of the community. (You should look-up some of the hassle that Nish got when he first joined) Michael CP Blog [^] Development Blog [^]

                                  N 1 Reply Last reply
                                  0
                                  • H hanhao

                                    hi, i am some newb in MFC programming now dealing with some problems while learning other's codes [IMG]http://img145.echo.cx/img145/8175/cstring3uk.jpg\[/IMG\] as you can see from the image, i am running debugging mode going step by step up to that yellow arrow (circled in red) i noticed that in the "watcher" section at the bottom right it says the symbol "str" is not found what puzzles me is that "str" has already been declared already (circled in red) and how is it possible that it cannot be found? shouldnt it be some text? or at least empty text "" ? i hovered my mouse over "str" and nothing came up :confused: could it be some declarations i left out? i got no idea please advise and enlighten me :wave: - winxp - VC6.0++, SP5 - MFC style

                                    V Offline
                                    V Offline
                                    vladfein
                                    wrote on last edited by
                                    #17

                                    So - 15 replies and NO help? interesting... First of all, do you debug a Debug build or a Release? (Release build can rearrange your variables) Second, is the code in the executable file or in a DLL? (The code that you are looking at might not be current if you have multiple copies of your DLL) ----------------------------- Get trial copy of comment generating tool CommentMakerPro, a collection of convenience and productivity tools for Microsoft Visual Studio .NET FeinStuff, and std::string and std::string containers viewer FeinEvaluatorPro at www.FeinSoftware.com

                                    1 Reply Last reply
                                    0
                                    • M Michael P Butler

                                      norm.net wrote: It gets to a fine line discussion/question I'm not splitting hairs, I've seen newbies and near newbies dragged backwards through the bushes for posting similar messages, yet when a popular long timer posts similar material the blind eye approach is taken. It's merely an general observation and my opinion. You have a fair point. Newbies on any site always get a rougher time than those who are on the staff or who are well-respected members of the community. (You should look-up some of the hassle that Nish got when he first joined) Michael CP Blog [^] Development Blog [^]

                                      N Offline
                                      N Offline
                                      Nish Nishant
                                      wrote on last edited by
                                      #18

                                      Michael P Butler wrote: You should look-up some of the hassle that Nish got when he first joined Glad someone remembers :-D

                                      1 Reply Last reply
                                      0
                                      • V Vikram A Punathambekar

                                        WHAT? :wtf: > old I'm 21 years young. > message board Yes, this is indeed a message board. > nazi I'm North Indian, which I guess makes me Aryan, but I'm certainly not racist, so I don't see how I can be called a Nazi. > fart I eat healthy food, and I eat in moderation. It's a long time since I f*rted. Only one out of your four charges is valid. And I don't think posting on a message board is a crime. :) Are you criticizing me for my previous post? If so, I'm sorry, you're mistaken. Was my post in any way combative or threatening or demeaning? I certainly think I was polite, but if you disagree, I can't help it. Cheers, Vikram.


                                        http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

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

                                        Vikram A Punathambekar wrote: I'm 21 years young. I believe, you going to young by one more year next month:)

                                        "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                        cheers, Alok Gupta

                                        V 1 Reply Last reply
                                        0
                                        • T ThatsAlok

                                          Vikram A Punathambekar wrote: I'm 21 years young. I believe, you going to young by one more year next month:)

                                          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                                          cheers, Alok Gupta

                                          V Offline
                                          V Offline
                                          Vikram A Punathambekar
                                          wrote on last edited by
                                          #20

                                          Truth be told, I hate growing up. But the problem is only when you're under 25 and haven't grown up inside - people think you're childish and immature and actually look down upon you. If you're older than 25 and haven't grown up, people actually admire you. :cool: Cheers, Vikram.


                                          http://www.geocities.com/vpunathambekar "It's like hitting water with your fist. There's all sorts of motion and noise at impact, and no impression left whatsoever shortly thereafter." — gantww.

                                          T 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