Original Post
This is really messed up.... I've been working on a resource file packing mechanism, and it works great, but I've noticed some... odd... behaviour when I ran it on Windows. I ran the exact same code on the exact same set of files, with the following differences: - The resource file in windows is exactly 1 byte larger than the one generated in Linux - I've verified that the two files are exactly identical, except for the one last byte appended by the windows code Now, this is where it gets weird: - When reading the resource file, both windows and linux can only handle the one generated in linux. The reason this is so weird is that since the files are exactly the same (except the last trailing byte), it should be able to read in the header information fine, which it does not. Is there something shady going on on the windows side? I'm using Dev-C++, fwiw. Thanks