[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • 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

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

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