Hi
I have some problems with WinDrawBitmap() and the palmos35-en-ez-8mb-wc-dbg ROM image
(Palm VIIx OS 3.5.0).
My code seems to work with every other ROM image except this one. And I don't have a
clue what's wrong. It crashes every time when I try to draw a bitmap.
what's wrong with this code:
BitmapPtr bitmapP;
MemHandle bitmapH;
bitmapP=NULL; bitmapH=NULL;
bitmapH=DmGetResource(bitmapRsc, WaitBitmap);
if (bitmapH)
bitmapP=(BitmapPtr) MemHandleLock(bitmapH);
if (bitmapP)
WinDrawBitmap (bitmapP, 65, 55); // <-- here I get a fatal error and reset
msg !
....
MemHandleUnlock(bitmapH);
DmReleaseResource(bitmapH);
any ideas?
by(e) & tnx
Stephan
--
PGP Fingerprint: 0090 E02F 39A8 F2AF 6A79 43D7 B847 C26D 108E E2F0
PGP PublicKey: http://www.unet.univie.ac.at/~a9526342/sveigl.asc
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/