Hi guys,
At the moment I'm trying to edit my project, after checking the whole thing alright... it can be compiled and built, even there is no problem when I execute the program, however, when I close the application file (*.exe), an 'Application Error' message box appeared and I don't know how to debug it. This is because it shows the access vioaltion from the supported MFC file (...\MFC\SRC\Bartool.cpp)
CToolBar::~CToolBar()
{
AfxDeleteObject((HGDIOBJ*)&m_hbmImageWell);
delete m_pStringMap; //<-this is marked with prob.
m_nCount = 0;
}
I dont think it comes from the CTooolbar variable in my project cos it nothing to do with it, it could be others, what do you reckon?
I tried to use call stack to debug upwards, but I have no idea where to find the bugs...
errgghh.. any idea guys???
thx a lot
At the moment I'm trying to edit my project, after checking the whole thing alright... it can be compiled and built, even there is no problem when I execute the program, however, when I close the application file (*.exe), an 'Application Error' message box appeared and I don't know how to debug it. This is because it shows the access vioaltion from the supported MFC file (...\MFC\SRC\Bartool.cpp)
CToolBar::~CToolBar()
{
AfxDeleteObject((HGDIOBJ*)&m_hbmImageWell);
delete m_pStringMap; //<-this is marked with prob.
m_nCount = 0;
}
I dont think it comes from the CTooolbar variable in my project cos it nothing to do with it, it could be others, what do you reckon?
I tried to use call stack to debug upwards, but I have no idea where to find the bugs...
errgghh.. any idea guys???
thx a lot