What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » Plug-Ins » What is the best way to play sounds using C++?

What is the best way to play sounds using C++?
Author: Message:
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
O.P. What is the best way to play sounds using C++?
I want to write a small family of similar Msg+ plugins, all of which play sounds based on commands. Each plugin will have a different set of sounds.

At the moment, I am playing with a small, one-sound plugin, which will form the basis of the others. When I exclude the code to play the sound, the plugin compiles and runs correctly. However, when I use the PlaySound() function, it won't compile, even though I have got all the correct #include's as specified by the VC++6 online documentation and MSDN. I keep on getting error LNK2001.

Am I doing the right thing? Or should I use a different method? I can post the function call, complete with arguments, if that'll help.
[Image: spartaafk.png]
11-18-2003 12:28 AM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
What is the best way to play sounds using C++? - by RaceProUK on 11-18-2003 at 12:28 AM
RE: What is the best way to play sounds using C++? - by optimism_ on 11-18-2003 at 09:39 PM
RE: What is the best way to play sounds using C++? - by RaceProUK on 11-18-2003 at 10:50 PM
RE: What is the best way to play sounds using C++? - by optimism_ on 11-18-2003 at 10:53 PM
RE: What is the best way to play sounds using C++? - by RaceProUK on 11-18-2003 at 11:04 PM
RE: What is the best way to play sounds using C++? - by Patchou on 11-19-2003 at 02:18 AM
RE: What is the best way to play sounds using C++? - by optimism_ on 11-19-2003 at 08:41 AM
RE: What is the best way to play sounds using C++? - by RaceProUK on 11-19-2003 at 03:24 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On