How to use Phone Dialer from another program?

Posted on 2000-01-18
Medium Priority
Last Modified: 2013-12-03
I would like to dial a number directly from within another program. What command line parameters i must give to Phone dialer? Or is there any other way?
Question by:harisis
  • 2
LVL 15

Expert Comment

ID: 2362133
Phone dialer doesn't support command line.

To programmatically dial, you have to use telephony API (TAPI).

LVL 15

Expert Comment

ID: 2362159
There is a sample in MS Visual C 6.0 (may be, in 5.0 or below as well).

Open MSDN Library, search for "Dialer.c".

Or, look at on the Contents:

MSDN Library Visual studio 6.0 -> Platform SDK -> Reference ->Code Samples -> NETDS ->TAPI ->DIALER

Accepted Solution

vlad44 earned 800 total points
ID: 2363131
Use TAPI function tapiRequestMakeCall to start dialer.
  LPCSTR lpszDestAddress,  
  LPCSTR lpszAppName,  
  LPCSTR lpszCalledParty,  
  LPCSTR lpszComment);

if you want command line application, build it
//consol application
#include <tapi.h>

main(int argc, char *argv[])
  if(argc == 2)
    tapiRequestMakeCall(argv[1], "My Dialer", NULL, NULL);

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
Whether you've completed a degree in computer sciences or you're a self-taught programmer, writing your first lines of code in the real world is always a challenge. Here are some of the most common pitfalls for new programmers.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
The video will let you know the exact process to import OST/PST files to the cloud based Office 365 mailboxes. Using Kernel Import PST to Office 365 tool, one can quickly import numerous OST/PST files to Office 365. Besides this, the tool also comes…

601 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question