Hi all,
I'm trying to figure out why TH I get these error
unhandled exception at <address No.> in <my project neme>.exe:
<address No.>: Privileged instruction
and another :
unhandled exception at <address No.> in <my project neme>.exe:
<address No.> : Access violation writing location <address No.>
when I try to debbug it by choosing break , the curser stands on the delete row:
if(!this->m_PostersPost.empty()){
list<Text*> ::iterator itp;
for(itp = this->m_PostersPost.begin(); itp != this->m_PostersPost.end(); itp++){
delete(*itp);
}
I tried to add an if(itp!=NULL) statement in all forms (&& ( *itp!=NULL), and only one of them alone) but it got even worse. What do I do wrong?
thanks in advance,
Yael