and put it into SysWOW64/ and system32/, I tried to run the debug app.s again. Now the error became what my title says, i.e. 0xc000007b. Could it anything wrong with my environment, e.g. MSVC2008 + .NET4? Shall I just use MSVC2008 Redist x64 and .NET 3.5
along with MSVC2008?

"You must use "turn Windows features on or off" in the Control Panel to install of configure Microsoft .NET Framework 3.5 SP1."

In my Windows Features dialog windows, all the subkeys and mainkey of Microsoft .NET Framework 3.5.1 are checked already.

I have created a brand new x64 console C++ project with only these lines

========

#include <iostream>

void main(int argc, char** argv)

{

std::cout << "Hello world." << std::endl;

}

========

The application is compiled with /MDd and /MD flags. It runs absolutely fine.

My troubled project uses Qt 4.6.3 x64 built from source as shared libraries. The bundled "qtdemo.exe" also has 0xc000007b error whereas other bundled non-graphical applications run fine. Any other idea?