OK, so either I'm completely losing my mind of something is screwy here.
On devices <3.5, I'm making a WinCreateOffscreenWindow call.  As far as
I can figure, WinCreateOffscreenWindow shouldn't create the window and
should return an error if the dimensions I pass are too large -
requiring a memory chunk of more than 64K.  However, that's not what I'm
seeing happen.  As far as I can tell, the window gets created properly
(the handle is not NULL and there is no error), but later on when I call
WinGetWindowBounds followed by WinEraseRectangle (both after setting the
current draw window to the offscreen window, of course), I get an error
that I've written to unallocated memory.  I thought, maybe there's
something screwy in WinEraseRectangle, so I tried just drawing what I
was going to draw to the window and got the same error.  So, my real
question is, is it possible for WinCreateOffscreenWindow to create a
window in memory that ends up being larger than 64K?  I'd be really
surprised if it just created the largest possible window, didn't update
the window bounds, and didn't return any errors.

DeAnna Davidson
Lead Software Engineer
iBrite, Inc.


--
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