> //Hide;
> ShowMessage('Pick up the phone.' + #13 + 'Click OK after
> dialing has completed.');
> s := 'ATH^M^J';
I think you'll better use
s:='ATH'^M^J;
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http:
On 13/12/2007, Marc Santhoff <[EMAIL PROTECTED]> wrote:
>
> status := SerWrite(serialhandle, s, Length(s));
> if (status <> Length(s)) then bark;
>
> should be appropriate.
Thanks Marc.
Now the major problem. Finding a computer with a modem! :-)
Regards,
- Graeme -
___
Am Donnerstag, den 13.12.2007, 09:22 +0200 schrieb Graeme Geldenhuys:
> Hi,
>
> I'm trying to write a Phone Dialer feature in my application. I
> managed to do this a long time ago in a Delphi app using Windows API
> calls, but now I need it for Linux and Windows. Unfortunately the
> serial.pp u
On 13/12/2007, Marco van de Voort <[EMAIL PROTECTED]> wrote:
> > s := 'ATH^M^J';
>
> Shouldn't you use the relevant #xxx chars here?
Oops! You are right.
I also noticed that I was using SerWrite() wrong. The third parameter
is not a 'out' parameter as I assumed!
status := SerWrite
> //Hide;
> ShowMessage('Pick up the phone.' + #13 + 'Click OK after
> dialing has completed.');
> s := 'ATH^M^J';
Shouldn't you use the relevant #xxx chars here?
___
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://