?
Solved

Status modem

Posted on 2002-03-25
10
Medium Priority
?
219 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
Technology Partners: 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

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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

Templates For Beginners Or How To Encourage The Compiler To Work For You Introduction This tutorial is targeted at the reader who is, perhaps, familiar with the basics of C++ but would prefer a little slower introduction to the more ad…
IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
Suggested Courses

649 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