Others are likely to encounter the same problem as you did. Providing the solution in addition to saying that you found it might be helpful to others (like me). It is always anoying find out someone had the exact same problem and says he solved it, but won't say how he did.
In addition to what Richard said, this is also not the appropriate place for a question regarding graphics. If you don't know where to post your questions, go to the Lounge to get some guidance from users as to what forum is most appropriate for your question (don't ask technical questions there).
The information being reported here is merely showing memory being reallocated as a string is manipulated and its size increased. The actual tidy up of reallocated and deallocated blocks will happen elsewhere, when the string destructor is called. Remember that tools like this are only pointing you to areas of your code that could be potential problems, it is up to you to verify whether they are real problems or not.
Unrequited desire is character building. OriginalGriff
I'm sitting here giving you a standing ovation - Len Goodman
I have some third party code that has stopped working since I moved to VS2010.
A popup color picker now no longer pops up from it's source button. Ultimately, its CWnd::CreateEx call fails (technically the call to AfxCtxCreateWindowEx). GetLastError says 0x00000579 (Invalid menu handle). It doesn't have a menu.
The same code works in VS6.
My CREATESTRUCT in CWnd::CreateEx looks like this:
<edit -="" get="" the="" right="" one="" this="" time!="">