I recently start building 64bit version of an application I've been working on for windows 7 64bit.
The first stone I hit was that all the third-party librares the application references need to be recompiled under 64bit mode. It took me some time to figure that out, and I wish sharing this info may save some troubled minds.
boost
> cd boost_1_41_0
> bootstrap
> bjam toolset=msvc-9.0 variant=debug,release architecture=x86 address-model=64
Qt
> C:\Programe Files\Microsoft Visual Studio 9.0\VC\vcvars32all.bat amd64
> cd \Qt\4.6.0_amd64
> configure
> nmake
Still working on the compilation of 64 bit ffmpeg, mingw is really giving me headache.