2
Answers

how can a background directsound program play sound

Photo of Administrator

Administrator

22y
2k
1
I write a directsound program,when switch to another program the sound of the background program can't play. Can anyone tell me?

Answers (2)

0
Photo of Wim Sturkenboom
NA 2.9k 1.6k 10y
The answer to your question depends on the answer to the question "what are you trying to read"? The serial port on a (web)server or the serial port on a (web)client? Code for the server or for the client? Reading a serial port on the server is definitely possible, reading the serial port on the client can be done as well (but not directly as the browser runs in a sandboxed environment as far as I know).

Please note that "but that code is not works" means nothing. If you want serious help, you have to indicate what's wrong. Does it not compile, does it not read, does it throw runtime exceptions, ..... If it does not read, it might mean that you want to read from the client and you downloaded code for the server; we can not say.

Please clarify and others might be able to help (I'm probably not the one to be able to help).