Hi group,
I have a problem with BitmapTypeV3. The resources made
with pilRC are BitmapTypeV2. I draw them in Sony Clie
with HRWinDrawBitmap and it is ok. When I draw a
bitmap on os5 with WinDrawBitmap they are stretched.
So I make the following but it crashes:

MemHandle h = DmGetResource(bitmapRsc, BmpId);
BitmapPtr bitmapP = (BitmapPtr)MemHandleLock(h);

BitmapTypeV3 *bmpV3P = BmpCreateBitmapV3(bitmapP,
kDensityDouble, BmpGetBits(bitmapP), NULL);

WinDrawBitmap((BitmapPtr)bmpV3P, x, y);//And here the
simulator crashes!

Can you help me?


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

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

Reply via email to