On Tue, 2003-02-25 at 19:06, jeffreyrdiamond wrote: > Ken, I am getting desperate! How did you get around the 64K problem? > If I use WinCreateOffscreenWindow with native format, I get a memory > error. > > In fact, every approach I have tried to create a screen buffer > 64K > has failed!
I did see a bunch of errors with memory size when I specified screenFormat, but eventually got it under control by changing it to be nativeFormat. I do: // NOTE: this code won't compile // wrap the actual numbers in UInt32 variables, and pass their address. WinScreenMode(winScreenModeSet,320,320,8,1); winH = WinCreateOffscreenBitmap(320,320,nativeFormat,&error); WinSetDrawWindow(winH); and go from there. What device are you on? How much memory is installed? How much is used? -Ken -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
