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

binary loading of data file

0 replies · 1,406 views · Started 14 September 2004

Hi gurus, I am a newbie to Symbian. I would like to directly saves data structures into file. I used to be able to perform a file write and pass in the bytes after casting to a void pointer with the size of the data structure and data.

I can do that in PC, pocket PC and also in Palm OS. I am trying to achieve the same in Symbian.... Please advise me...

myFIle.write(void* myBigDataStructure,sizeof(myBigDataStructure));

myFile.read(myBigDataStructure);

Trying to achieve the above.... Bulk data loading and bulk data saving....