• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 177
  • Last Modified:

running mp3 in c or c++ ?

how can i run a wmv or mp3 file in  c or c++? is it possible? should i need mmsystem.h?
0
spal10
Asked:
spal10
1 Solution
 
jkrCommented:
You could simply invoke the default application to play these files, e.g.

ShellExecute ( NULL, "open", "c:\\somefolder\\file2.mp3", NULL, NULL, SW_SHOW);
ShellExecute ( NULL, "open", "c:\\somefolder\\file2.wmv", NULL, NULL, SW_SHOW);
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

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