I used #include <vfw.h>.
Should I #include <vfw32.dll> instead?
I used #include <vfw.h>.
Should I #include <vfw32.dll> instead?
You #include the .h file.
In the project->settings->linker(*) project configuration, you add the name of the library you're trying to link with.
(*) this is a guess, so you need to explore on your own beneath the project settings to find where the "linker" and "additional libraries" are specified.
If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
If at first you don't succeed, try writing your phone number on the exam paper.
I am really confused now.
Msdn says that capcreatecapturewindow needs the vfw library,
but it is under the avicap how to create a window tutorial and I dont have the vfw dll on my computer I think, and now I dont know If I should link to avicap32.dll or vfw32.lib.
EDIT: I just used Vfw32.lib and it works fine now.
Last edited by Danne; 01-13-2011 at 09:06 AM.