I've got a program that I can manually run a circuit with using the serial port and now I need to make this work automatically based on an existing program.
This program does 2 things when I want mine to run: Transmits data on another serial port and plays a sound.
My original idea was to poll the port to see when data was being sent, but unfortunately I can't open the port while this other program is running.
So I guess my question is: Is there any way to make my program detect when a sound is played? (preferably a specific sound, but any sound would be fine too)
Or is there another way to check when data is being sent?
I've spent a few hours googling this with no avail
I've learned all of my port programming in the last couple of days, so maybe there is something really obvious I'm missing...
I hope that explains my problem clearly enough and any help would be greatly appreciated.
I'm using Dev-C++ and running windows xp