him I've a prob.
I have;
QProgressDIalog* ppp //this in class Object
ppp = 0; //in costructor of Object
ppp=p;
}
//mainForm.cpp
QProgressDIalog* prog = new QProgressDIalog();
this->setProgr (prog);
QProgressDIalog* ppp //this in class Object
ppp = 0; //in costructor of Object
void object::setProgr(QProgressDialog* p){
ppp=p;
}
//mainForm.cpp
QProgressDIalog* prog = new QProgressDIalog();
this->setProgr (prog);
To copy to clipboard, switch view to plain text mode
It compile but on give me runtime error...why?Ho can I do?
are there other way to pass pointer? it seems that ppp remain null...
thanks
Bookmarks