AviCap tutorial?

This is a discussion on AviCap tutorial? within the C++ Programming forums, part of the General Programming Boards category; I used #include <vfw.h>. Should I #include <vfw32.dll> instead?...

  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 wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,673
    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 support http://www.ukip.org/ as the first necessary step to a free Europe.

  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 08:06 AM.

Page 2 of 2 FirstFirst 12
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, 06: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, 08:40 PM
  4. Problem with tutorial (Vector class)
    By OdyTHeBear in forum C++ Programming
    Replies: 4
    Last Post: 12-18-2002, 01: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21