When you're packing data such that your packed record contains an array of
length 1 and you plan on writing beyond its limits, make sure the array is
at the last entry in the struct.  If not, you'll end up writing over part of
your array since all the data is continuous and space was only reserved for
the first entry of the array!




-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to