> Sir,
> I think you need to take a close look at the file you are using these
> fread and fwrite to. Were you able to recompile to code in the 32 bit
> version without any issues? Make sure that you are reading or writing
> the proper number of bytes from the file, because once you compile in
> the 32 bit version, the source is modified to 32 bit, and I can't see
> that being the cause of the issue here.
>Thank you for your advise,Daniel:
My operating data is writen in binary mode.
Do you mean that I should redefine my structure to read,
just like define double to float? (double(16bit)==float(32 bit))