checkBitsC C program to check whether an executable file is 32 or 64 bit. Works on shared libraries like DLLs as well. Usage: checkBits input