"Riccardo Cohen" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > Why does new work in
> > debug and not in release?  Anyone have any hints?  I am using POL if
that
> > matters.
>
> In debug mode, as well as in release, the crash is not compulsary. For
instance, let says you try to
> write at bad address. Then if the bad address is within your application
memory, but actually an
> object that disappeared, then it wont crash even if it is a bug.

Right but it's crashing with a
"just change the emulated program counter to 0x8003aCFE. The address is
invalid because it's in neither ROM nor RAM".

And crashing on the otherwise entirely trivial line:
wchar_t* newBufferW = new wchar_t[newLength+SIZEOFNULL];

I believe this is what you see if you try to call code in another segment if
you are in a no-globals launch
...
...
Oh my oh my.
SIZEOFNULL is a Class static const int, not a define.
Weird that it worked in Debug....

If y'all excuse me, I'm gonna go throw myself a beatin'.



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

Reply via email to