I have some code that seems to work and I would like to know if it would
always work.

BitmapPtr bitmapP;

bitmapP = (BitmapPtr) MemHandleLock(DmGetResource('Tbmp',1300));
WinDrawBitmap(bitmapP,X,Y);
MemHandleUnlock(DmGetResource('Tbmp',1300);

Specifically do I need to assign the result from DmGetResource to VoidHandle
or will it work as is.  So far it compiles and runs correctly.

Thanks
Dave


Reply via email to