vfw.h and MinGW

This is a discussion on vfw.h and MinGW within the Windows Programming forums, part of the Platform Specific Boards category; I'm using Dev-C++ (the mingw/cygwin ide) and I have a question. The windows AVI functions are supposed to be located ...

  1. #1
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685

    vfw.h and MinGW

    I'm using Dev-C++ (the mingw/cygwin ide) and I have a question. The windows AVI functions are supposed to be located in a header called vfw.h. And to utilize them I would have to include vfw32.lib (or libvfw32.a as it is for my compiler). However, my compiler has the library file but no header? How do I go about using the AVI functions?

  2. #2
    Unregistered
    Guest
    MinGW is missing quite a lot from various headers and thanks for letting me know about that one's omission.

    If you have a copy of the microsoft header you might try that but it has been my experience that modification is usually necessay.

    The problem with this approach is the as yet (to my knowledge) unanswered question of legality: is it ok to just build a modified header based on this information - and I don't mean a verbatim copy.

    Most, if not all, of the libs (*.a) for MinGW should be up to date as they are constructed from the windows dll's themselves. It's just the declares that are often (irritatingly) absent.

    If you create a legal copy of this file that works for you, be sure to let the people at mingw know about it so that it can be incorporated into future releases.

    I'm stuck with two hideous one's myself: I was trying to build a lib header set for gdi+ for mingw but hit upon the problem of ms fwd declaring an enum type prior to initialising it which mingw had real problems with. Second is the use of the handy OleLoadPicture, for which most of the 'ole' headers need to be radically updated.

    At present, although I can identify such issues, they are beyond my current level of knowledge and technical skill to correct.

    Sorry about the *yawn* verbose reply....

  3. #3
    Banned master5001's Avatar
    Join Date
    Aug 2001
    Location
    Visalia, CA, USA
    Posts
    3,685
    No appology necessary. Your input at least points me in the right direction. I'll try to use another compiler's vfw.h if someone would be so kind as to attach it to a post it here or email it to me (master5001@techemail.com). Then I'll make the necessary motifications. If it works i'll notify mingw, if not i'll just keep using my own functions.

  4. #4
    Unregistered
    Guest
    If you get borland's free bcc5.5 cmd line tools you will get not only the core engine of their c++ builder 5, you'll also get all the headers.

    You can get it from:

    http://www.borland.com/bcppbuilder/freecompiler

    it's about 8.5MB in size and you have to fill out a registration form or you can get it directly from:

    ftp://ftpd.inprise.com/download/bcpp...dLinetools.exe

    If you wish you can get the latest ms headers by downloading the aug2001 platform sdk. Unfortunately I don't have a link but a quick search of microsoft's site should.....leave you frustrated.

    Hope that helps some. Good luck with your project.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Mingw and elcipse HELP
    By Rob4226 in forum Windows Programming
    Replies: 1
    Last Post: 03-04-2008, 01:35 AM
  2. MinGW thread-safe runtime libraries
    By Mario F. in forum C++ Programming
    Replies: 3
    Last Post: 08-21-2006, 09:15 AM
  3. Free compiler for commercial development? (mingw?)
    By kook44 in forum Windows Programming
    Replies: 8
    Last Post: 01-07-2006, 09:32 AM
  4. compiling mingw to enable timeSetEvent
    By underthesun in forum Windows Programming
    Replies: 2
    Last Post: 02-02-2005, 06:00 PM
  5. Convert Microsoft LIB to MingW compatible lib
    By tigs in forum Windows Programming
    Replies: 0
    Last Post: 07-20-2004, 07:53 PM

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