I remember a bit more about this bug. The effect was that even though you requested a 
size of less than 512 bytes, the app info block would end up being 512 bytes long. It 
was easy enough to code it so that this didn't cause any problems. If your app info 
block is a simple fixed size structure, casting it and accessing via a struct will 
simply ignore the extra bytes on the end. If there are variable length components 
within the app info block, just arrange them so that you can determine their structure 
without knowing the size of the chunk. For example, if strings are being stored, just 
parse from the beginning. Or store sizes at the beginning that let you find the 
components within the app info block.
--
Peter Epstein
Palm Inc. Developer


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

Reply via email to