CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Page 2 of 2 FirstFirst 12
Results 16 to 19 of 19
  1. #16
    Join Date
    Sep 2003
    Posts
    815
    I guess I do use it
    How do you see it in the watch window?
    I need to expand it because sometimes it's in the _Buf and sometimes in the _Ptr

    btw I checked the case and it's uppercase so it's not the problem

    Here is how it looks in my debugger: (this time it's in the _Ptr)
    so you see I need to expand it to check the value, which is kind of annoying...

    so according to the way it looks in my debugger can you pls tell me what phrase do I need to put in the autoexp.dat file?

    Thanks


    + std::_String_val<char,std::allocator<char> > {_Alval={...} } std::_String_val<char,std::allocator<char> >
    npos 4294967295 const unsigned int
    - _Bx {_Buf=0x0133f038 "H>_ÌÌÌÌÌÌÌÌÌÌÌÌ " _Ptr=0x01a03e48 "lalalalala" } std::basic_string<char,std::char_traits<char>,std::allocator<char> >::_Bxty
    + _Buf 0x0133f038 "H>_ÌÌÌÌÌÌÌÌÌÌÌÌ " char [16]
    + _Ptr 0x01a03e48 "lalalalala" char *
    _Mysize 12 unsigned int
    _Myres 31 unsigned int
    Last edited by avi123; June 13th, 2004 at 01:41 AM.

  2. #17
    Join Date
    Aug 2000
    Location
    New Jersey
    Posts
    968
    You could try adding the following:

    std::_String_val<char,std::allocator<char> >=$BUILTIN(NSTDSTRING)
    David Maisonave
    Author of Policy Based Synchronized Smart Pointer
    http://axter.com/smartptr


    Top ten member of C++ Expert Exchange.
    C++ Topic Area

  3. #18
    Join Date
    Sep 2003
    Posts
    815
    it didn't help either

    I have no idea what to do
    Last edited by avi123; June 13th, 2004 at 08:14 AM.

  4. #19
    Join Date
    Sep 2003
    Posts
    815
    thank you all, aparantly this line:

    std::basic_string<*> =Ptr=<_Bx._Ptr,s> Buf=<_Bx._Buf,s>

    do the trick but I had an extra line in the dat file that made it not to work

    after removing it, it seems ok

    Thanks
    Avi

Page 2 of 2 FirstFirst 12

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