If you try to get OpenCV to work with Visual Studio 2010 and get an “Unhandled Exception” while trying out a simple example make sure your program links against the correct .dll!
Make sure you added the path to the folder containing the dll’s build with VS 2010 to your path-enviroment variable, not any other version of Visual Studio, it wont work!
Filed under: C++, Computergraphics, OpenCV