> Is there a good guide anywhere to writing 64-bit-clean code? simply use sizeof() not assumptions nothing else. too - don't assume big/little endian system. actually it's VERY simple.