You have to first load the bitmap and access it via its pointer not Resource ID. WinDrawBitmap does not take the Resource ID as a parameter.
----- Original Message ----- From: "Steve Bailey" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[EMAIL PROTECTED]> Sent: Sunday, January 20, 2002 7:16 AM Subject: Bitmap crash > Hi, > I recently added a bitmap to my main screen, and there is a problem. > > While attempting to load the first screen, on the POSE, I get the standard > low-memory-access crash. > > On the unit itself, a message indicating "index out of range",and then > crashes. I'm using 1069 as the id for the bitmap family. > > But on both POSE and the unit, the second time you attempt program launch, > it's fine, and from then on. > > I'm using 16 by 16 as the size. I provided a drawing for all three bitmaps. > This happens on all O.S., from 3.0 to 4.0. > > Am I missing something? > Thanks > Steve > > -- > For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/ > -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/tech/support/forums/
