>I think something like that could do it:
>
>VoidHand BitmapH;
>VoidPtr BitmapP;
>
>    BitmapH = DmGetResource(bitmapRsc,bitmapIB);
>    BitmapP = MemHandleLock(BitmapH);


Goes o.k. to here - debugger gives
    BitmapH     0x8002027A
                      *          0x0020C06
                      **                  0

    BitmapP   0x00020C06
                            * 0
which doesn't exactly tell me a lot.. :>)

>    WinDrawBitmap(BitmapP, 20, 20);

gives illegal conversion from  'void *' to 'BitmapType *', I guess
its a typecasting problem

>    MemHandleUnlock(BitmapH);
>    DmReleaseResource(BitmapH);
>
>Pierre Baux
>
>
>
>--
>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/

Reply via email to