Solved

phone call

Posted on 2001-09-18
4
324 Views
Last Modified: 2013-12-03
I need the application to place a phone call to entered phone number.
RasDial() returns error "Can't fine phone book file" !?

What is the simple way to place phone call?
0
Comment
Question by:serg111
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 32

Expert Comment

by:jhance
ID: 6491895
RasDial() is for dialing with the intent of making a Dial-Up Networking (a.k.a. RAS) connection.  This is not what you want to use.

You need to use TAPI to dial a voice call.  Doing this is far beyond the scope of a 100 pt. question.  I'd suggest you get a copy of Chris Sells excellent book, Windows Telephony Programming.  It has everything you need to know about TAPI and dialing.

Of course, you can also bypass all that, open the serial port that has the modem on it, and send an "ATDT555-1212" dialing string.  but I don't recommend this due to potentials conflicts and incompatibilities.

0
 
LVL 14

Accepted Solution

by:
AlexVirochovsky earned 100 total points
ID: 6493079
from
http://www.microsoft.com/windows2000/technologies/communications/default.asp
you can download simple TAPI dialer
More about tapi you can know from
http://people.ne.mediaone.net/brucep/tapifaq/
(unofficial TAPI FAQ)
0
 
LVL 2

Author Comment

by:serg111
ID: 6493466
Yes, I'm using RasDial() to make a Dial-Up Networking connection
0
 

Expert Comment

by:maluberian
ID: 11621948
serq,

make sure you are passing NULL to RasDial for PhoneBook and not the empty string. This is a pointer and therefore passing it a string will work but if you want to use the default phonebook you need to pass null.

Also, if you are using Win95 then you can't use this value at all (e.g. you MUST pass NULL) as Win95 keeps the phonebook in the registry.

Hope this helps,
maluberian
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Windows Mobile 6.5 device Apache Flex 3 49
Get the most recent file to copy into a sql table with ssis 2 111
Vb.Net Loading Word 11 107
Changing the installation path of this MSI 5 114
This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

726 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