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.
The result of the above command will produce the string:
which is obviously not what you want; the format string should be "%s\0%s\0\0".
You also say that this is not updating in registry; do you get the error message or see some other problem? Are you running this code with administrator privileges and have you opened your registry key with the correct permissions for updating values?