How could you cast a pointer to a struct? Try (Tree *);
On Thu, Apr 13, 2000 at 02:16:25PM -0300, Nicholas Breau wrote:
> Can somebody tell me why this cast isn't working, or how I could solve it ?
>
> Nick.
>
>
> VoidHand h = DmQueryRecord(gTreeDB, index);
> Tree theTree = (Tree)MemHandleLock(h); <----
>
> where tree is a struct.
>
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe, please see
>http://www.palm.com/devzone/mailinglists.html
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palm.com/devzone/mailinglists.html