My app works fine under palmos 4
If i try with the simulator from Sony i have :

I:\Snoopy\ARM\Core\Emul68K\Src\Error68K.c, Line 1543, Write
to BitmapType (id 0) off: 12, size: 4

    > Chris, it sounds like your if statement only has ONE = sign not TWO
==.
    >
    > Alan

the condition is :     if (debug > _debugLevel)

    > To me, it sounds more like a direct access to the clippingBounds
field,
    > which I think is 18 bytes into the WindowType structure.
    >
    > -- Keith

Is the address of the bitmap bits of a window can change during the program
?
because i save the address of the display window using :

h_palm_offscreen= WinGetDisplayWindow();
palm_offscreen = (UInt8 *)(BmpGetBits(WinGetBitmap(h_palm_offscreen))) +
_screeny;

and use it all along the program.
Using WinScreenLock/Unlock the problem seems to disapear.

    > > Sounds like a buffer overrun.  Check that you're not writing
    > > past the end of
    > > any allocated memory shortly before the crash occurs.


> > > I:\Ripple\ARM\Core\Emul68K\Src\Error68K.c, Line 1543, Write
> > to WindowType
> > > (id 65535) off: 18, size: 4
> > >
> > > The debugger stop on a if condition
> > > Do you know why ?

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

Reply via email to