I didn't hear from anyone on the problem I posted yesterday but I got around it. I thought a few of you might be interested in what happened in case it ever happens to you. I have been working on the same application for several months and I've been adding to it and downloading it several times a day. Yesterday I added a single line of code and after I did a Hotsync to install the new version I noticed it was no longer on the PDA. The Hotsync not only didn't install the latest version of the program - it also removed the old one and all the associated files. My application has two segments now so I moved a couple routines to the newer segment and everything worked Ok again. CodeWarrior (8.0) had always given me an error when the segment got too large before, but it didn't that time. Knowing that CodeWarrior doesn't always detect a segment that has grown too large might save some of you some time and frustration some day.
I sent a response to the list last night. As I explained in my post yesterday, there is a slight margin between the maximum segment size that CW warns you about in V8 and the real maximum segment size. I just learned two weeks ago that this maximum segment size is even smaller on the Tungsten T and other OS 5 device due to a change in their HotSync Manager. V9's linker has the correct size for OS4 and older devices in the linker, and V9.2 will update this code to just warn about any code or data segment over 64000 bytes.
--
Ben Combee <[EMAIL PROTECTED]>
CodeWarrior for Palm OS technical lead
Palm OS programming help @ www.palmoswerks.com
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
