Hello, I got a big char[] in my program. And when I mean big it's REALLY BIG. About 64K. Luckily, its information and size will always be the same (I have this char[] declare in many code pages). I just need to read from it.
My question is where to allocate this char[] (remember the fact that no modification is required) a) Do you advice me to save it as part of my code and create it on runtime? Disadvantage: 1) The code size increases too much and I need to put it alone in one segment. 2) I'm "creating" the char every time I run my program. b) save it as global data. DISMISSED. The 64K limit data per program speaks for itself. c) save it as a File with the FileStreaming Api and read from it c1) Do you know any program that I could use to write the file, send it to the Palm device and read from it with this Api? (Something like par maybe?). If I write the file from my code remember this will make my code increase. But maybe I could have a class that just writes this in a separate segment. d) save it as a database with par? I'm not sure the char[] is smaller than 64K, maybe its 62K. In this case, would you advice me to do this? e) any other option? Regards, Salvador -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
