You could try allocating enough memory in the declaration of your 'global'
structure, then use the library initialization to populate the array.
----- Original Message -----
From: "Phillip Streck" <[EMAIL PROTECTED]>
To: "Palm Developer Forum" <[EMAIL PROTECTED]>
Sent: Friday, June 08, 2001 11:16 AM
Subject: globals and shared libs.
> I'm working on a shared library where i have a few global that are defined
such as
>
> UInt32 var[4][256] = { ................ };
>
> so the data is always constant, after reading through the mastering shared
libraries doc it shows how you can define a structure to use for globals..
yet i dont believe you can place constant data like this into strcture. any
suggestions on how to do this?
>
> thanks,
>
>
> Philip Streck
> Akron General Medical Center
> Information Systems
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/