Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

cvCreateCameraCapture(0) crashes system

I had this program working and all of a sudden now when my program gets to cvCreateCameraCapture(0) it crashes the whole system. I have tried changing the 0 to -1 with the same result.

I did build the libraries on the system I am with the issue. The system is a 32 bit system runningWindows 7 Embedded. I am using Qt as my IDE and Mingw32 compiler. The libraries were compiled with MingW as well.

In debug mode I can see that it loads a lot of DLLs, the starts some threads before crashing. I believe 3 threads get started and maybe is attempting to start a 4th.

This same code does run fine on another system but the camera is different.

Anyone have an idea?

Thanks in advance, Kevin