I am using A4tech webcam, and I connect it to the opencv via visual studio. But the problem is that I cannot analyse it's frames. i.e. the program is built completely, but if in the main code I have used the frame properties, it will not start running. The memory of the frames (frame=cvQuaryFrame(capture)) is not accessible. But this problem is only for external webcam. The laptop Embedded webcam does not have this problem. I have attache the .cpp code that I have written