Ask Your Question

Revision history [back]

Why openCV does not work in VC++ 2008 and 2010?

I'm newbie in OpenCV. I created a project as Win32 application, not console application. The first openCV call

m_image = cvLoadImage(filename,1) fails with message

An unhandled exception of type 'System.Runtime.InteropServices.SEHException' occurred in UnuaProjekto.exe

The variable filename contains a valid path (returned from OpenFileDialog) to a BMP file.

What can I try?

Thanks