Solved

Status modem

Posted on 2002-03-25
10
210 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
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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

C++ Properties One feature missing from standard C++ that you will find in many other Object Oriented Programming languages is something called a Property (http://www.experts-exchange.com/Programming/Languages/CPP/A_3912-Object-Properties-in-C.ht…
Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will be introduced to the technique of using vectors in C++. The video will cover how to define a vector, store values in the vector and retrieve data from the values stored in the vector.

743 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now