I would like to capture video from my webcam and am trying to use vfw.h but seems to have some issues. I linked vfw32.lib and msvfw32.lib to my project, and it still gives me the error saying the function capCreateCaptureWindow() is undeclared. I have uninstalled, reinstalled, and installed 3 different compilers with different libraries (devcpp, codeblocks, LLC-win32). None of them work. What else could be causing this, and is there a fix? I am also looking for other/better ways to get video from an input device.