Read-only archive of the All About Symbian forum (2001–2013) · About this archive

Freeware program to save SMS on PC!

3 replies · 2,838 views · Started 23 August 2005

Actually it does not exist yet, I'm trying to write it. But I need your help: I must decode files stored in c:\system\mail, which actually hold the messages. c:\system\mail\INDEX file is actually not needed to store SMS on the PC, as it only contains partial info. But the single files in c:\system\mail folder structure are what I need: I can identify the message body and the sender number; I miss the "sent date" (I only analyzed received messages). If somebody here can get which format the date is stored in, it should be quite simple for me to write the program.

I suspect the date info is stored in 4 or 6 bytes, 31 bytes far from file-end. Can anybody confirm? Which is exactly the format used?

Thanks for your help.

cassioli wrote:Unfortunately I can't write Symbian c++ programs. Any tips for OPL or Java? I need a ready-made function which returns date from an 8 bytes string representing microseconds elapsed since... I don't know! :frown:

Got it: there are 8 bytes stored in reverse order (beginning with 00 e0...) which represent microseconds elapsed since AD 0.

Here you find the explanation about how to use this data to obtain the date using RapidQ language. Explanation is in italian, but maybe you could get the sense of the post...