I am avoiding using any external applications for this nor any extra dll
files since I know that this can be done using an API function, I just
wanted to know which one...

I'll dig more to find this function

Thanks guys

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] Behalf
Of David Smith
Sent: Tuesday, February 21, 2006 3:59 AM
To: [email protected]
Subject: RE: [delphi-en] Dialing phone numbers from Delphi


> You can dial the phone with a single call to an API
> function.
> Why use someone else's auto-dialer?
>
> Glenn Lawler

  Well, some of them do it w/o the overhead of TAPI.
In any case, I find it odd that no one has bothered to
post this function yet.. (I have not tried this, I
pulled it from SwissDelphiCenter. I believe that the
JEDI project has TAPI as a unit you can add to your
uses clause)

Dave


function tapiRequestMakeCall(DestAddress, AppName,
  CalledParty, Comment: PChar): Longint; stdcall;
external 'TAPI32.DLL';

procedure TForm1.Button1Click(Sender: TObject);
var
  PhoneNumber, AppName: array[0..255] of Char;
begin
  PhoneNumber := '1234567890';
  StrPCopy(AppName, Application.Title);
  tapiRequestMakeCall(PhoneNumber, AppName, '', '');
end;




--- "Glenn B. Lawler" <[EMAIL PROTECTED]>
wrote:

> >There are also many freeware auto-dialers out
> there.
> >google on "delphi auto dial" or something.. you
> should
> >get a few hits.
>
> You can dial the phone with a single call to an API
> function.
> Why use someone else's auto-dialer?
>
> Glenn Lawler
>


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED]
Yahoo! Groups Links








-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to