> I must have the memory address of this genereted code in the Palm
> to jump on it to draw the sprite but I can't find it.
> 
> Now, I have a generated binary file that I'd like to use in my Palm.
> 
> Pilrc recognize the DATA type :
> 
>   DATA "junk" ID BitmapCode_ID "bitmap.cod"
> 
> The combination of this two functions seems to give me the memory pointer I
> need.
> 
>       MemHandle DmGet1Resource (DmResType type, DmResID resID)
>          and
>       MemPtr MemHandleLock (MemHandle h)
> 
> But, there is no type for 'DATA' to pass in the DmResType parameter.
> There is no functions in the Palm API to manipulatre "DATA" ressources.

    DmGet1Resource('junk', BitmapCode_ID);

  DATA is the name of the PilRC tag, "junk" is the data type.. and, 
  i would suggest you choose a better name :P - you can change it you
  know :P

// az
[EMAIL PROTECTED]
http://www.ardiri.com/    <--- free games!


-- 
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