• Advertisement
Sign in to follow this  

soundplayer and console

This topic is 2647 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

using namespace System::Media;
this code give erro in console(c++).
how use sounplayer?

Share this post


Link to post
Share on other sites
Advertisement
Moving you to General Programming -- Music & Sound is more for creating or working with audio than audio programming.

1. What error are you getting?

2. Do you have more code, or just that one line?

3. Are you writing a regular Win32 Console application in C++, or are you using Managed C++? I believe the SoundPlayer class (this one?) you're referring to is meant to be used in Managed C++ or from other .NET languages.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement