S
sharat
Hi,
I am facing a strange problem.
I am working with already implemented very big code of project in C++.
Its related to GUI function.
I have added a new button to a dialog and its functionality.
Everything works fine if I declare the local variable in Class
constructor. but I observed if I declare any variable in .h file
inside a class definition then its making the parent window's
pointer's(look up on parent) NULL. I am not getting that declaring
variable in class deification , how it is creating problem?
is this related to some inheritance already defined design patterns or
anything else, might be a small problem.
Please help.
thanks in advance.
I am facing a strange problem.
I am working with already implemented very big code of project in C++.
Its related to GUI function.
I have added a new button to a dialog and its functionality.
Everything works fine if I declare the local variable in Class
constructor. but I observed if I declare any variable in .h file
inside a class definition then its making the parent window's
pointer's(look up on parent) NULL. I am not getting that declaring
variable in class deification , how it is creating problem?
is this related to some inheritance already defined design patterns or
anything else, might be a small problem.
Please help.
thanks in advance.