Skip navigation.
Home
The QNX Community Portal

View topic - PtWidgetIsRealized() and ApInstanceName() problems !

PtWidgetIsRealized() and ApInstanceName() problems !

Read-only archive of qnx.porting (Discuss migrating applications from QNX4, VxWorks, PSOS, or Linux to QNX Neutrino) at inn.qnx.com

PtWidgetIsRealized() and ApInstanceName() problems !

Postby Ran Zhang » Wed Jul 19, 2006 3:11 pm

PtWidgetIsRealized() crashes my program everytime i call it.

ApInstanceName() crashes sometime, I made sure in Phab's Generate Options, i
check the box says 'Store Names for ApInstanceName()'.
Ran Zhang
 

Re: PtWidgetIsRealized() and ApInstanceName() problems !

Postby Mario Charest » Wed Jul 19, 2006 3:26 pm

"Ran Zhang" <rzhang@vamcointernational.com> wrote in message
news:e9lhtu$rnq$2@inn.qnx.com...
PtWidgetIsRealized() crashes my program everytime i call it.

Well that would seem to indicate the pointer is corrupted or the data in the
widget is corrupted

ApInstanceName() crashes sometime, I made sure in Phab's Generate Options,
i
check the box says 'Store Names for ApInstanceName()'.

Mario Charest
 

Re: PtWidgetIsRealized() and ApInstanceName() problems !

Postby Ran Zhang » Wed Jul 19, 2006 6:14 pm

That may explain for PtWidgetIsRealized(), but why would ApInstanceName()
ever crash?
"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:e9lipt$s4i$1@inn.qnx.com...
"Ran Zhang" <rzhang@vamcointernational.com> wrote in message
news:e9lhtu$rnq$2@inn.qnx.com...
PtWidgetIsRealized() crashes my program everytime i call it.

Well that would seem to indicate the pointer is corrupted or the data in
the
widget is corrupted


ApInstanceName() crashes sometime, I made sure in Phab's Generate
Options,
i
check the box says 'Store Names for ApInstanceName()'.



Ran Zhang
 

Re: PtWidgetIsRealized() and ApInstanceName() problems !

Postby Mario Charest » Wed Jul 19, 2006 8:36 pm

That may explain for PtWidgetIsRealized(), but why would ApInstanceName()
ever crash?

ApInstanceName takes a PtWidget_t pointer so the same thing that happened to
PtWidgetIsRealized() would happend to ApInstanceName()

"Mario Charest" <postmaster@127.0.0.1> wrote in message
news:e9lipt$s4i$1@inn.qnx.com...

"Ran Zhang" <rzhang@vamcointernational.com> wrote in message
news:e9lhtu$rnq$2@inn.qnx.com...
PtWidgetIsRealized() crashes my program everytime i call it.

Well that would seem to indicate the pointer is corrupted or the data in
the
widget is corrupted


ApInstanceName() crashes sometime, I made sure in Phab's Generate
Options,
i
check the box says 'Store Names for ApInstanceName()'.





Mario Charest
 


Return to qnx.porting

Who is online

Users browsing this forum: No registered users and 1 guest