Connecting works. Now how should I play a wave file through my modem?
Thank you for your replies,
I have tried using CreateFile to open the COM port; which went ok, then I used WriteFile to send a command, which seemed to work ok and then I tried using ReadFile to see what the modem had to say, which didn't seem to work.
I now found a control which is quite similar to the MSCOMM control, so I am amble to connect to the port and send and receive commands to and from the modem. It all seems to work using this control.
However; I have no idea how to start playing a wave file as soon as the modem picks up the phone? I want to be able to let the person who called hear a greeting message based on his/her Caller ID.
I would really appreciate it if someone can explain to me how to play a wave file through my modem.
And TumblingDown? Could you perhaps show an example of how to use CreateFile, WriteFile and ReadFile to communicate with your modem?
vbDan