Can't you use MemHandleSize() on the handle you get from DmGetResource?  I
might have the name of the function wrong, but there is a function to
retrieve the size of the chunk referred to by a handle.

How does that help you get a resource -index-, though?  For that, I think
there's a data manager function which returns a resource index given a
handle and db ref.

Mark Peters

Richard Hartman <[EMAIL PROTECTED]> wrote in message
news:5856@palm-dev-forum...
>
> How do you obtain the size of a resource given
> the handle returned by DmGetResource()?  DmResourceInfo()
> wants a resource -index- and an open db ref -- none of which
> you get w/ DmGetResource() or DmGet1Resource() ..
>
> --
> -Richard M. Hartman
> [EMAIL PROTECTED]
>
> 186,000 mi/sec: not just a good idea, it's the LAW!




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to