You could use a string list resource in a resource database. You could even add that resource to your shared library, but you would have to make sure that the id used for the resource never conflicts with the ids used in any application that uses your shared library.
Kevin -----Original Message----- From: DL [mailto:[EMAIL PROTECTED]] Sent: Monday, March 04, 2002 6:28 PM To: Palm Developer Forum Subject: Shared Library Global Array Replacement? I have a large array of strings like: Dtc dtc[] = { { "String 1" }, { "String 2" } }; A shared library cannot contain global data. How then can I include my large table into a shared library? The table is <64k segment. Ideally I want 10 shared libraries each with a large string lookup table. Any ideas on how to accomplish this? I could dynamically create the storage using MemPtrNew(), however the array definition is the problem. -- 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/
