I have a problem using VideoCapture class with OpenCV 2.4.2 under windows XP 32bits.
It doesn\'t open any file or camera and fixing it\'s being a pain.
Im using visual studi
In my case, the same problem was resolved after deleting all opencv_***.dll files in C:\Windows\System32. So, I use the dll files just through the path like "%PATH%;C: \Program Files \OpenCV2.4.2\build\x86\vc10/bin". Please try it.