Hi, I'm working on an application that adds records to the Palm's AddressBook. Each new record is received as a VCARD, so I use the PDI library to parse the VCARD and populate the new record. For each record the general parsing sequence is the following: - create a UDAReaderType with the UDAMemoryReaderNew function that uses the buffer that contains the VCARD; - create a PdiReaderType with the PdiReaderNew that uses the UDA reader created above; - do a while on PdiReadProperty and depending on the current property execute one or more PdiReadPropertyField calls.
I noticed that if the VCARD's size is less than 500 bytes, the crash is not produced, but if the VCARD has a size higher than 500 bytes, the application crashes in PdiReadProperty or PdiReadPropertyField, depending on the VCARD's size. If I use the same VCARD, the crash appears in the same place, so it's not a random crash. The problem is that the application does not crash on the Palm OS 5.2 simulator, but on the Palm OS 5.1 simulator (or device - Sony Clie running OS5.0) the crash appears. Were there any changes done in the pdilib.dll file from 5.1 to 5.2 version that could have corrected this problem? I didn't find anything on the forum about this so far, but I'm still searching. Thanks, Bogdan Mihailescu -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
