2016-07-28 04:54:39 -0600 | asked a question | OpenCV VideoCapture does not work as pointer or member variable I have a very strange hevaviour with opencv3.0.0 c++ in visual studio 2010 on windows7. I simply want to open a video file to grab/extract frames from it. When i create a local variable in my cpp, everything works fine: When i do a pointer in my cpp, the open process does not work. When i create a member variable in my header file, it is also not working Can you help me get rid of this problem? I really need to declare the videocapture as member variable so i can acess it throughout my whole program. greetings, Julian |