Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - PtBackground Widget Problem: (2 Items)
   
PtBackground Widget Problem  
Hi,
I am using evaluation version of qnx 6.4.0.

I have two projects created using PhAB.
First Project has
1) base window named "base1"
1) 5 PtBackground Widgets - Each having different Images.
2) 1 PtButton widget - On activate, the Callback function will Unrealize all the PtBackground widgets (Hide the images)

The Second Project as follows.
1) base window named "base2"
2) Imported the Project1's base1 window and also placed the callback code of its button widget in proper source path.

Base2 window has, 
1) 5 PtBackground Widget - Each having different Images
2) 1 PtButton widget - on activate, display base1 window.

the first project compiles and works successfully. 
Now the problem is,
In second project, during runtime, i am navigating to base1 window by clicking button in base2 window.
Now, when i click on button widget in base1(which will hide the Background widgets), "Memory Fault. Core Dumped" message
 is displayed in terminal.

I need all of your suggestion and solution.
Re: PtBackground Widget Problem  
Try running yout app in gdb and when the app chashes, run
backtrace
the resultant backtrace may show where the problem is.