Using VB I can open the file for Binary Access
Open [filename] For Binary Access Read Lock Read Write As #1
Populate my variables with contents of the file.
Get #1, , myType
And then covert the double to a DateTime
Format(myType.myDateDouble, "dd-mm-yyyy")
And it works fine. What is interesting is the value of the double in VB is
different to C#
Does this help a all.
Ollie said:
I am not sure if my app is reading them correctly. I don't know a great deal
of C# or C++ so am unsure how else I can read them.
The applications that created these files also reads them and picks up the
correct date, but I do not have access the source.
You see, the problem is that they could be written with a different
endianness, or any number of things. If you don't know (or aren't
willing to share) the meaning of the double, I really don't see what
more anyone here can do.