I have a windows7 64bit machine. I compiled and linked a small sample program with visual studio 2010 professional in 64bit debug mode. (The program runs fine in 32bit mode). It also compiles and links fine in 64 bit mode (changed the libraries to 64bit versions of OpenCV), however when i run it, it immediately returns with the 0xc000007b message, and shuts down. I have not been able to find a solution to this on the internet. what is wrong here?