CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: playing an avi?

  1. #1
    Join Date
    Aug 2002
    Posts
    31

    playing an avi?

    Hi
    How can I play an avi using c++? I saw a similar thread that suggested to use shellexecute, but I can't get it to work...and is there a better way (i.e. more flexibility in terms of how it's displayed)? Thanks a lot!

  2. #2
    Join Date
    Sep 2002
    Posts
    1,747

    vfw32 library

    Just use the vfw32 library. You can use very simple commands to play, pause, etc. the avi. Here is an example (ignore the fact that it says it is an mp3 player, as it also plays avis).
    */*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/*/

    "It's hard to believe in something you don't understand." -- the sidhi X-files episode

    galathaea: prankster, fablist, magician, liar

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured