HOW to free memory from removed ReportRecords ?? |
Post Reply |
Author | |
unknow
Groupie Joined: 14 January 2009 Location: Belgium Status: Offline Points: 62 |
Post Options
Thanks(0)
Posted: 14 February 2010 at 9:57am |
Hi. I am developping an application with a document interface based on the report control. I observed that when a CXTPReportRecord is removed using the CXTPReportRecords::RemoveRecord, the associated memory is not released.I thought this could be my code, but I looked at the ReportSample application and it is the same behavior when doing a CUT operation.
I tried calling delete pRecord after calling pRecords->RemoveRecord(pRecord) but it fails on the MFC CCmdTarget::InternalRelease function.
Any hint ?
|
|
unknow
Groupie Joined: 14 January 2009 Location: Belgium Status: Offline Points: 62 |
Post Options
Thanks(0)
|
Please, any hint ?
Thanks!
|
|
znakeeye
Senior Member Joined: 26 July 2006 Status: Offline Points: 1672 |
Post Options
Thanks(0)
|
Perhaps Populate() performs the actual delete operation? Not sure...
|
|
PokerMemento - http://www.pokermemento.com/
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |