Modem Communications

Posted on 2001-06-21
Medium Priority
Last Modified: 2013-11-20
 I am designing a program that requires to use the modem.  The program passes ASCII characters to another computer via a modem.  The problem is that I cann't get the modem to work.

  I need to be able to Dial, Answer, Send data, Recieve data, and hang up the modem. It also needs to work on all Windows platforms from Win95 and up.  

   Can someone send me some source code and/or a good reference site to look at.  I do have a book by Chris Sells called "Windows Telephony Programming: A Developer's Guide to TAPI" but the examples in the book didn't work in Windows Me.

  I am using Visual C++ 6 Professional for my code.

Please Help.
  My E-Mail is hartshr@hotmail.com

  Thanks in advance.
Question by:Metro
  • 2
  • 2
  • 2
  • +1
LVL 32

Accepted Solution

jhance earned 600 total points
ID: 6216013
Why didn't the samples from the Sells' book work in WinME?  TAPI is unchanged in ME from earlier Windows versions.  I've written multiple TAPI applications and none have had any trouble in ME.  

BTW, this is really an excellent book and I've NEVER seen a better source of information on TAPI.
LVL 49

Assisted Solution

DanRollins earned 600 total points
ID: 6216669
>>The problem is that I cann't get the modem to work.

COuld you me more specific?  Can you hear dialing sounds? Does the connection get established but you are then unable to transfer data?  Do you need to write both the remote host and local client pieces?

-- Dan

Author Comment

ID: 6218424
As far as the Modem I can get it to Call and get it to notify me that the phone is ringing but it will not answer the line or initialize when phoning.
Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

LVL 32

Expert Comment

ID: 6218436
My first suspicion would be the modem driver is faulty.  Check to make sure that the correct driver for this modem is installed.  Be sure the modem is setup so that it will answer the phone.  

Author Comment

ID: 6218867
We found out that the Modem itself doesn't work right .. the only program that it works with is HyperTermial.

So I have another modem here, that I am getting farther on just not quiet there alll the way

Thanks for the Help
LVL 49

Expert Comment

ID: 6219457
If the modem works with Hyperterminal, then it works -- the problem is not with the modem.

>>but it will not answer the line or initialize when phoning.

If you are doing the dialing, then it is the remote host that does the answering.  If you hear dialing sounds and get back a ringing notification, then the modem is probably intitialized correctly.  If you want reasonable help, you'll find that replying to questions directed to you by the experts will speed things along.

-- Dan
LVL 23

Expert Comment

by:Roshan Davis
ID: 9490033
No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:

Answered by : jhance, DanRollins (points to be split)

Please leave any comments here within the next seven days.


Roshan Davis
EE Cleanup Volunteer

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

This is to be the first in a series of articles demonstrating the development of a complete windows based application using the MFC classes.  I’ll try to keep each article focused on one (or a couple) of the tasks that one may meet.   Introductio…
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
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…

587 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