Thread: AviCap tutorial?

  1. #16
    Registered User
    Join Date
    Jan 2011
    Posts
    30
    I used #include <vfw.h>.
    Should I #include <vfw32.dll> instead?

  2. #17
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    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.

  3. #18
    Registered User
    Join Date
    Jan 2011
    Posts
    30
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. My new website
    By joeprogrammer in forum A Brief History of Cprogramming.com
    Replies: 19
    Last Post: 03-17-2006, 07:38 PM
  2. Cprog tutorial: Design Patterns
    By maes in forum C++ Programming
    Replies: 7
    Last Post: 10-11-2004, 01:41 AM
  3. Tutorial review
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  4. Problem with tutorial (Vector class)
    By OdyTHeBear in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 02:49 PM
  5. My DirectInput tutorial....
    By jdinger in forum A Brief History of Cprogramming.com
    Replies: 1
    Last Post: 06-18-2002, 11:32 PM