sound - running an mp3 with winamp
Ok, what I'm trying to do is run a file with a separate executable outside of the compiler. The end result I'm trying to accomplish is an alarm clock; at the desired time it will run a function which will open an mp3 using winamp.exe. I've tried using the system() command, but this does not produce the desired results, as it only runs an executable file and cannot use another with that execution. I have also tried to use the 'spawnl' command I found in a tutorial on this site under 'Running Execs,' but this appears only to be able to run an executable also, although I could not get it to work anyway (some error that seemed to appear within my process.h library...). If anyone has any information on this, I would greatly appreciate it! Thanks!