shetlandbob
Programmer
Hi,
I'm reading a binary file which is created by VB6 and contains strings, long, double and integers.
Has anyone come across a problem of reading integers from VB6 binary created files?
I'm using the following format:
fread ( &Integer, sizeof(int), 1, inputResultsFile )
It reads in the strings and double etc correctly before it gets to the integers then it starts reading jiberish?
Has anyone come across a problem like this? Or have any idea what might be going on?
Any help much appreciated.
Thanks
I'm reading a binary file which is created by VB6 and contains strings, long, double and integers.
Has anyone come across a problem of reading integers from VB6 binary created files?
I'm using the following format:
fread ( &Integer, sizeof(int), 1, inputResultsFile )
It reads in the strings and double etc correctly before it gets to the integers then it starts reading jiberish?
Has anyone come across a problem like this? Or have any idea what might be going on?
Any help much appreciated.
Thanks