Now I have to convert the entire source code into 64-bit.
Why ? Does your program explicitly need 64 bits commands ?