TPU ChatChat on IRC
Internet Relay Chat?
Java Applet client
Who's on IRC?
Can Visual C++ play midi files?
Posted by jon_chan [send private reply] at May 21, 2002, 12:51:23 PM I'm trying to make a simple casino program in C++, and I thought it would be cool if I could add sound, either in wav format, or midi format.
Could someone post the code necessary? Like an example? I've been told to use VSS and API, but I honestly have no idea how to make those work.
My target OS is Windows98 SE, using Microsoft Visual C++
Posted by metamorphic [send private reply] at May 21, 2002, 03:50:03 PM API? you mean an api? the API you would prob need to use is the WIN32 API (a.k.a standard stuff) and the function you want is playsound() look it up at msdn
Posted by CodeRed [send private reply] at May 21, 2002, 04:26:31 PM In VC++ its easy, just go to the resource editor and include the midi's as resources
Posted by jon_chan [send private reply] at May 21, 2002, 11:42:08 PM K, thanks guys. I'll look into what you posted.
CodeRed - is there anything else I would need to do in order for it to play the files? I'm not familiar with the resource editor.
Metamorphic - I'll check that on msdn, thanks.
I'll let you know how it goes...
Register as a new user