Werner Poschenrieder wrote:

>if ( StrCompare( rcCheck, pcCat ) ) ErrThrow( (long)0x200 | 18 );
>
>if ( StrCompare( rcCheck, pcCat ) ) ErrThrow( (long)>dmErrInvalidCategory
>);
>
>causes a fatal exception on the device and on the emulator. The
>StrCompare part is ok: No unallocated pointers, no leaks a.s.o..
>
>On the emulator the exception message is "..0xA3cc0000..neither >RAM..nor
>ROM.."
>
>Why?

Dunno...  never used those functions...  But, did you enclose them in an
ErrTry block? as in:

ErrTry {
   // ... misc code, along w the ErrThrow line
}
ErrCatch(err) {
   // ...code handling the thrown err
}ErrEndCatch


And, as in that example, I wouldnt be surprised at all if you need to define 
a variable called err of the appropriate type.

Sincerely,
Martin



_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to