>Warning: I'm a relative newbie...
>
>I'm drawing a largish (480 by 480) bitmap to an offscreen window, and it
>fails with:
>
>ScrDriverNew.c Line 500 "Invalid Params"
>
>This is with 3.1 ROMs. The identical code works fine with 3.3 ROMs.
>
>I searched the list archives, and this error usually has to do with
>compressed bitmaps, but mine isn't. It can also be due to memory
>corruption, I guess, but that's where I stumble.
>
>Why this should be fine in 3.3 but not 3.1?
>
>I am using CtlSetLabel all over the place, and I know this is a famous
>way to corrupt memory, but in all cases I pass in a globally allocated
>string of my own, so that shouldn't be a problem, right?
>
>Dave Johnson
>
>--
>For information on using the Palm Developer Forums, or to
>unsubscribe, please see http://www.palm.com/devzone/mailinglists.html
Dave,
is the allocation of the offscreen bitmap and window succeeding? I tracked some
problems I had with using bitmaps in offscreen windows down to not
having enough memory to allocate
the offscreen bitmap _and_ the window (admittedly, on an early Palm
with very little memory).
- Paulo.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html