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!="">
Hi all, do you know how to add a ActiveX control to a WTL main frame? I searched quite a lot and it seems all samples are using a dialog inheriting CAxDialogImpl while I do not want to use dialogs. Is it possible to host ActiveX control directly from main frame (which inherits from CFrameWindowImpl)?
Come to think of it I seem to remember ATL or WTL has window templates designed to host ActiveX controls. I think there's an example on the net that designs and implements a 'Bullseye' ActiveX control.