Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. mlatimer

    <string> size problems

    xwb, yes, with "abcdefghijk" its ok , (11 chars). Its only when i get over 15. CString is char (neither UNICODE or _MCBS set).
  2. mlatimer

    <string> size problems

    Im afraid the junk string is passed to the funtion that requires it. I'm using VC7.0 so I would assume that the <string> implementation cannot be "that" buggy. Can it?
  3. mlatimer

    &lt;string&gt; size problems

    In which case, would you expect cs1 = m_sRootURL.Left(10); s1 = (LPCTSTR)cs1; cs1 = m_sRootURL.Mid(10,10); s1 += (LPCTSTR)cs1; to work? The first call is fine, the second junks the <string>. If the <string> is initailzed correcly {as in string("")}. the junking takes the form of...
  4. mlatimer

    &lt;string&gt; size problems

    chipper, no its not. This was(is) test code to see what was happening in the app whilst debugging. Is more than 20 chars (typical ftp URL). The idea of the code above was to see how many chars i could transfer (as I have other vars that were transfering with no problems at all)...
  5. mlatimer

    &lt;string&gt; size problems

    Many thanks for this, but same result. Any other suggestions? Am running in debug mode in vc7.0, could it be a project compiler setting issue?
  6. mlatimer

    &lt;string&gt; size problems

    Hi all Imconfused by a daft problem.. Our apps are written using MFC (CStrings etc) but we are using a library which uses ATL (strings). I understand tstring is a basic string but cant get my head around this simple problem... I cannot assign a tstring longer than 15 chars... To show an...

Part and Inventory Search

Back
Top