Again crash! unlock doesn't help. Even changed the bitmap resource to 
be double density and again crash.

--- In [EMAIL PROTECTED], "Markus Dresch" <[EMAIL PROTECTED]> 
wrote:
> > > > MemHandle h = DmGetResource(bitmapRsc, BmpId);
> > > > BitmapPtr bitmapP = (BitmapPtr)MemHandleLock(h);
> > > >
> > > > BitmapTypeV3 *bmpV3P = BmpCreateBitmapV3(bitmapP, 
kDensityDouble,
> > > > BmpGetBits(bitmapP), NULL);
> 
> not sure if that's the cause of the error, but - shouldn't you 
unlock the
> MemHandle after retrieving the pointer to the bitmap?
> 
> markus dresch (www.palmside.com)
> 
> 
> 
> -- 
> For information on using the Palm Developer Forums, or to 
unsubscribe, please see http://www.palmos.com/dev/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to