At 3:36 PM +0100 4/25/01, Alessandro Zummo wrote:
> When i use FrmInitForm, a new Form handle is created.
>
> I could then create another handle of the size of the returned one
> plus my globals structure. Using this new handle should
> allow me to have my globals when i need them.
> 
>
> Would such a tecnique work? What are the risks involved?
> Any other better solution?

The technique you propose could be made to work, but a more compatible method would be 
to put a gadget on each form from which you plan to access your globals, and use its 
data field to store a handle to your global block.

Regards,

Jim Schram
Palm Incorporated
Partner Engineering


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