Print Page | Close Window

Acess Violation at...

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Property Grid
Forum Description: Topics Related to Codejock Property Grid
URL: http://forum.codejock.com/forum_posts.asp?TID=11627
Printed Date: 22 November 2024 at 5:47am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Acess Violation at...
Posted By: facelift
Subject: Acess Violation at...
Date Posted: 29 July 2008 at 3:33am
Unhandled exception at 0x04b16368 (ToolkitPro1200vc71D.dll) in icad.exe: 0xC0000005: Access violation reading location 0x000000e8.
---------------------------------------------------------------------------------------
m_pGrid = 0x00000008

CXTPPropertyGridItem::~CXTPPropertyGridItem()
{
    Clear();

    XTPMarkupReleaseElement(m_pMarkupUIElement);
}


void CXTPPropertyGridItem::Clear()
{
    if (m_pGrid && m_pGrid->m_pSelected == this)  HERE HE ID DYING
    {
        m_pGrid->m_pSelected = NULL;
    }
}
---------------------------------------------------------------------------------------
What is wrong? How can I fix that?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net