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

How to read data from file to struct?

0 replies · 1,834 views · Started 08 May 2004

How to read data from file to struct for Symbian?
In Visual C++, example
typedef struct tagHEADER
{
...........
}
HEADER;
HEADER Header;
int HEADERSIZE = sizeof(Header);
CFile File;
File.Read((void *)&Header, HEADERSIZE);

Thanks