Hi every body I know the Thread is very old but this problems occur and will occur a lot of more times.
The trick is this :
OFFSET=0;
RA=0;
fread(&RA,sizeof(RA),1,arq_index);...