Menu

#35 Fix of CAppInfoBase saving string

closed
None
5
2007-08-22
2007-08-06
No

While saving a string we save it in binary format and when try to read it fails. It is enough to add 'const' modificator to fix it. Please see the patch attached.

Discussion

  • Dmitry Yakimov

    Dmitry Yakimov - 2007-08-06
     
  • Anonymous

    Anonymous - 2007-08-07
    • assigned_to: nobody --> arnavpoch
    • status: open --> pending
     
  • Anonymous

    Anonymous - 2007-08-07

    Logged In: YES
    user_id=1041244
    Originator: NO

    Hi Dmitry,

    I don't understand your point as the only casts from [ATL|WTL]:CString are to LPCTSTR.

    With which mix of [targetSDK : compiler : ATL version : WTL version : _CSTRING_NS] can't you get back with CAppInfoBase::Restore(_CSTRING_NS::CString& sval, ATL::_U_STRINGorID sName) a _CSTRING_NS::CString saved with the matching CAppInfoBase::Save(_CSTRING_NS::CString& sval, ATL::_U_STRINGorID sName)?
    cheers,
    AR

     
  • SourceForge Robot

    Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • SourceForge Robot

    • status: pending --> closed
     

Anonymous
Anonymous

Add attachments
Cancel