Solved

Modem Communications

Posted on 2001-06-21
7
199 Views
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.
0
Comment
Question by:Metro
  • 2
  • 2
  • 2
  • +1
7 Comments
 
LVL 32

Accepted Solution

by:
jhance earned 150 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.
0
 
LVL 49

Assisted Solution

by:DanRollins
DanRollins earned 150 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
0
 

Author Comment

by:Metro
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.
0
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
LVL 32

Expert Comment

by:jhance
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.  
0
 

Author Comment

by:Metro
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
0
 
LVL 49

Expert Comment

by:DanRollins
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
0
 
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.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

Roshan Davis
EE Cleanup Volunteer
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
function returning CString in a regular win32 DLL 8 190
Host to IP 7 80
ffmpeg - "rtsp://...... Operation not permitted" 4 86
either24  challenge 19 101
In this article, I'll describe -- and show pictures of -- some of the significant additions that have been made available to programmers in the MFC Feature Pack for Visual C++ 2008.  These same feature are in the MFC libraries that come with Visual …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.

821 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