A
Andrew Burlak
Hi,
The following code is now terribly broken when compiled with 7.1:
afxDump << _T("%s%s%s%s%s%s");
It was OK in VC 6, now it causes AV.
The problem is that CDumpContext::OutputString(LPCTSTR lpsz) method passes
the 'lpsz' parameter to a TRACE macro:
TRACE(traceDumpContext, 0, lpsz);
which is just wrong. It should be:
TRACE(traceDumpContext, 0, _T("%s"), lpsz);
I suppose it is quite a critical bug in MFC 7.1.
Is it going to be fixed?
The following code is now terribly broken when compiled with 7.1:
afxDump << _T("%s%s%s%s%s%s");
It was OK in VC 6, now it causes AV.
The problem is that CDumpContext::OutputString(LPCTSTR lpsz) method passes
the 'lpsz' parameter to a TRACE macro:
TRACE(traceDumpContext, 0, lpsz);
which is just wrong. It should be:
TRACE(traceDumpContext, 0, _T("%s"), lpsz);
I suppose it is quite a critical bug in MFC 7.1.
Is it going to be fixed?