At 11:01 AM 11/13/2004, you wrote:
It seems to work fine on the emulator (running v3.5) and on a Sony Clie (running v4.0) but on a Tungsten T3 (running 5.2.1) it doesn't work correctly, and the problem only shows up on the Memos database! The problem appears to be that the modification date gets modified by merely calling my utility function (even though I don't think the function makes any changes to the database).

On the T3, the database you're opening isn't the true Memo Pad DB; it's a mirror database created by the OS to allow older applications to access data from the new Memos program that PalmOne installed on that device. Every time this DB is opened, an OS hook is called and it's recreated from the Memos DB. So, you're accurately reading that the DB's modification date is approximately "now", since it really is -- you'd need to read/write the new Memos format to get accurate info on the T3 (and T5, Z72, Treo 650). AFAIK, that format hasn't been disclosed by PalmOne.



-- Ben Combee, Technical Lead, Developer Services, PalmSource, Inc. "Combee on Palm OS" weblog: http://palmos.combee.net/ Developer Fourm Archives: http://news.palmos.com/read/all_forums/



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

Reply via email to