• Advertisement

Archived

This topic is now archived and is closed to further replies.

CD MUSIC

This topic is 6545 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

hi i need some examples or articles on how to play a music file from the cd. thanx

Share this post


Link to post
Share on other sites
Advertisement
how i play cd audio is to put in a Microsoft multimedia activeX control, make it invisible, then where ever you want it to play you just type:
//cd is the variable of the control
cd.SetDeviceType("CDAudio");
cd.SetCommand("Open");
cd.SetCommand("Play");

this will only work in visual c++ though

Share this post


Link to post
Share on other sites

  • Advertisement