Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 288
  • Last Modified:

Playing AVI-files with sound

I want to play AVI-file with sound. In VC 4.1 help in CAnimateCtrl description I read:

Animation controls can play only simple AVI clips.
Specifically, the clips to be played by an animation
control must meet the following requirements:
<skiped>
There can be at most two streams in the file (typically the
other stream, if present, is an audio stream, although the
animation control ignores audio information).
<skiped>

Why animation control ignores audio information? Is this
control property keep in VC 4.2? What can I do to play
AVI-file with sound?

Thanks for all proposition
0
AVaulin
Asked:
AVaulin
1 Solution
 
RONSLOWCommented:
play the AVI using ShellExecute
0
 
AVaulinAuthor Commented:
Good idea!
One notice: I must be sure that there is AVI-files registration
on user PC. Else ShellExecute will return SE_ERR_ASSOCINCOMPLETE
and problem will be not solve.
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now