Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Report Control
  New Posts New Posts RSS Feed - Using CXTPReportControl occurs an error
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Using CXTPReportControl occurs an error

 Post Reply Post Reply
Author
Message
butterflyhjh View Drop Down
Newbie
Newbie


Joined: 20 June 2007
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote butterflyhjh Quote  Post ReplyReply Direct Link To This Post Topic: Using CXTPReportControl occurs an error
    Posted: 20 June 2007 at 11:32am
Hi EveryBody,
//My code
CXTPReportControl *m_pReport;
m_pReport->GetRecords()->RemoveAll();
m_pReport->Populate();
 
//Errors In Stack
//The program exited here.
 
MFC42D!operator delete+0xf
MFC42D!CString::FreeData+0x18
MFC42D!CString::~CString+0x39
Codejock_ToolkitPro_Mfc60_v9_80D!CXTPReportRecordItemText::~CXTPReportRecordItemText+0x34
mds_guictrld!CXTPReportRecordItemText::'scalar deleting destructor'+0x34
MFC42D!CCmdTarget::OnFinalRelease+0x52
MFCO42D!CCmdTarget::InternalRelease+0x8e
Codejock_ToolkitPro_Mfc60_v9_80D!CXTPReportRecord::RemoveAll+0x46
Codejock_ToolkitPro_Mfc60_v9_80D!CXTPReportRecord::~CXTPReportRecord+0x3a
MFC42D!CCmdTarget::OnFinalRelease+0x52
MFCO42D!CCmdTarget::InternalRelease+0x8e
Codejock_ToolkitPro_Mfc60_v9_80D!CXTPReportRow::~CXTPReportRow+0x5a
Codejock_ToolkitPro_Mfc60_v9_80D!::'vector deleting destructor'+0x57
MFC42D!CCmdTarget::OnFinalRelease+0x52
MFCO42D!CCmdTarget::InternalRelease+0x8e
Codejock_ToolkitPro_Mfc60_v9_80D!CXTPReportRows::Clear+0x63
Codejock_ToolkitPro_Mfc60_v9_80D!CXTPReportControl::Populate+0xa9
 
I need help!
Thanks!
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 06 July 2007 at 5:12pm
Hi,

Looks like somewhere before this operation you've already deleted corresponding Record Item with its contents, and Report there tries to delete it twice.

--
WBR,
Serge
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.266 seconds.