F
flintridgeparkenfarker vonkerschnauzerheiden
Hi,
I needed to upgrade a driver on my laptop, couldn't get online with it, so I
wrote a down and dirty file splitter enabling me to transfer the new modem
drivers to it via floppy. The .exe was successfully reunited and installed.
Everything works fine; however, the file checksums are not the same before
and after the split and rejoining.
I've tested this with text files and always come up with the same looking
file as I started with after splitting and joining, but the checksums are
different.
This is how I'm appending the file file bytes to the rejoined file:
_tfopen(GetFilename().c_str(), _T("ab"));
....and then just looping through the bytes of the next buffer without adding
or subtracting any terminating char's, or EOF {which seems to happen
automatically when I'm finished anyways}.
I can't figure why the checksums are different.
I needed to upgrade a driver on my laptop, couldn't get online with it, so I
wrote a down and dirty file splitter enabling me to transfer the new modem
drivers to it via floppy. The .exe was successfully reunited and installed.
Everything works fine; however, the file checksums are not the same before
and after the split and rejoining.
I've tested this with text files and always come up with the same looking
file as I started with after splitting and joining, but the checksums are
different.
This is how I'm appending the file file bytes to the rejoined file:
_tfopen(GetFilename().c_str(), _T("ab"));
....and then just looping through the bytes of the next buffer without adding
or subtracting any terminating char's, or EOF {which seems to happen
automatically when I'm finished anyways}.
I can't figure why the checksums are different.