PtWidgetIsRealized() and ApInstanceName() problems !

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” <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()’.

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()’.
\

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()’.


\