> although I wonder why Q_LONG causes it to crash, it looks fine. There was a mixing of writing out ints and reading in Q_LONGs, which are really longs. Essentially, on a 64 bit system 8 bytes were being written and 4 bytes were being read. Kris Wong