?
Solved

Status modem

Posted on 2002-03-25
10
Medium Priority
?
217 Views
Last Modified: 2008-03-17
I am programming in windows 2000 OS.  I have a bunch of modems on my computer and I want to be able to check to see which modems (or how many modems) are available to dial out on (RASDIAL()).

    I want to be able to tell two different states of the modem.  
State1 : (not ready to dail)
if a modem is turned off (I have external modems), is dialing, or is connected --

State 2: (ready to Dial) if a modem is available to Dial out.

I have tried RasEnumConnections and RasGetConnectStatus, but these only tell me how many modems are configured for my system and how many are conected. I need to be able to tell if one of the modems is available to dail a number.

Any help would be great! Thank you.
0
Comment
Question by:jalgazi
[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
10 Comments
 
LVL 86

Expert Comment

by:jkr
ID: 6894993
What about 'RasEnumDevices()'?
0
 
LVL 86

Expert Comment

by:jkr
ID: 6894999
0
 

Author Comment

by:jalgazi
ID: 6895030
I also tried RasEnumDevices.... All it gives me is the name and buffer size...  I use it to determine how many modem devices I have.  

I am able to figure out how many modems are currently connected. (device amount - currently connected) should give me the correct number, but if a device is pending or is turned off I won't be able to tell and may try to dail. For that case is there a way to tell if the modem has a dail tone or is in ready state (with out actually trying to dail)
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 6

Expert Comment

by:Mindphaser
ID: 7036238
Please update and finalize this old, open question. Please:

1) Award points ... if you need Moderator assistance to split points, comment here with details please or advise us in Community Support with a zero point question and this question link.
2) Ask us to delete it if it has no value to you or others
3) Ask for a refund so that we can move it to our PAQ at zero points if it did not help you but may help others.

EXPERT INPUT WITH CLOSING RECOMMENDATIONS IS APPRECIATED IF ASKER DOES NOT RESPOND.

Thanks,

** Mindphaser - Community Support Moderator **

P.S.  Click your Member Profile, choose View Question History to go through all your open and locked questions to update them.
0
 
LVL 11

Expert Comment

by:griessh
ID: 7051823
Dear jalgazi

I think you forgot this question. I will ask Community Support to close it unless you finalize it within 7 days. You can always request to keep this question open. But remember, experts can only help you if you provide feedback to their questions.
Unless there is objection or further activity,  I will suggest to

     "refund the points and PAQ at zero points"

since nobody had a satisfying answer for you.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
======
Werner
0
 
LVL 6

Accepted Solution

by:
Mindphaser earned 0 total points
ID: 7052052
Points refunded and moved to PAQ

** Mindphaser - Community Support Moderator **
0
 
LVL 86

Expert Comment

by:jkr
ID: 7052064
Wow! 7 days can go by quite fast :o)
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7052099
jkr

I really didn't look at the timestamp of griessh's comment. My cry for help was posted 05/26/2002 and that's certainly more than 7 days away. If you go through the other C++ questions I posted you will notice that I accepted any help.

** Mindphaser - Community Support Moderator **
0
 
LVL 86

Expert Comment

by:jkr
ID: 7052106
Mindphaser,

no offense meant at all :o)
0
 
LVL 6

Expert Comment

by:Mindphaser
ID: 7052120
jkr

I am taking this business very serious ... or maybe not ... what do I know :-)
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Errors will happen. It is a fact of life for the programmer. How and when errors are detected have a great impact on quality and cost of a product. It is better to detect errors at compile time, when possible and practical. Errors that make their wa…
In days of old, returning something by value from a function in C++ was necessarily avoided because it would, invariably, involve one or even two copies of the object being created and potentially costly calls to a copy-constructor and destructor. A…
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

764 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