Hi,
When i close my application i have the following error message.
Unhandled exception at 0x7832530f (mfc80ud.dll) in AvatarClip.exe:
0xC0000005:Access violation reading location 0xfeeeff56.
Just after that i find my cursor in winfrm.cpp file on :
// detect the case that this is the last frame on the document and
// shut down with OnCloseDocument instead.
if (pDocument != NULL && pDocument->m_bAutoDelete)
{
BOOL bOtherFrame = FALSE;
------------>POSITION pos = pDocument->GetFirstViewPosition();
while (pos != NULL)
{
CView* pView = pDocument->GetNextView(pos);
ENSURE_VALID(pView);
if (pView->GetParentFrame() != this)
{
bOtherFrame = TRUE;
break;
}
}
if (!bOtherFrame)
{
pDocument->OnCloseDocument();
return;
}
plesae reply me as soon as possible I have tried a lot to solve this
problem
Athar khan