On Thu, 16 Oct 2003 21:33:47, Maneesh Gupta, Noida writes:
>I am developing an application having some data tables. These tables
>contains some data to be used but due to these tables data segement size is
>exceeding 64K limit.Please let me know how to solve such problems. 

Global tables can usually be replaced, with very few code changes, into
pointers to data resources.  In your startup code just point the global
table bases to these resources after getting their handles and locking
them.  If the table entries need to be modifiable, you can copy the data
in the data resources into the dynamic heap first.  You can also
assemble global tables much larger than 64k using the copy method.

>I can't aoid declaring these data tables.

One shortcut to creating these data resources is just to declare
the data tables in some development code, and then write that chunk
of memory out to a resource.  These data resources can later be cut
and pasted into the actual application which needs them.


Ron Nicholson
HotPaw Productions
 <http://www.hotpaw.com/rhn/palm> 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to