"iceColdFire" <ic*******@yahoo.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
HI,
I have an MFC application...I have used Memory Leak functions, as
CMemoryState a,b;
Now, a.DumpStatistics() send all its output to the console.... I need
to get this output into a file...
kindly suggest...
I have alreay tried freopen(..) and ofstream type...but nothing seems
to work...
Well, MFC stuff should be directed to an mfc newsgroup, since it's their
software. But assuming they're just using cout, it may be possible to use
something like cout.rdbuf() to redirect it elsewhere. (I just saw that in
another post, and don't know the details of it, so you need to look it up or
Google for it to get better info.)
-Howard