Solved

Detecting RAS (Dial-Up) bytes transfer

Posted on 1998-11-07
4
302 Views
Last Modified: 2010-04-04
Hi. I'm looking for a way how to detect how many bytes have been transferred trhough line.
I know, that in Win98 or in Win95 + MS DUN upgrade 1.2 there is some info in HKEY_DYN_DATA, but it is almost unusable, because the entries in registry are dependent on language version of Windows. In CZ it is "Telefonni adapter" in US it is "Dial-Up Adapter" .... I want to know the connection speed and bytes transferred. Thanx!
0
Comment
Question by:Aleq
[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
4 Comments
 
LVL 10

Expert Comment

by:viktornet
ID: 1346017
Why not have a translation of all the languages??

There might be an API call that might do what you want...

Cheers,
Viktor
0
 
LVL 8

Expert Comment

by:MikeP090797
ID: 1346018
This is a long shot, but try:
If you know the connection name, use FindWindow on 'Connected to Connection'. Then use GetDlgItemText with 0x21C for bytes recv,  0x224 for bytes recv.
0
 
LVL 4

Accepted Solution

by:
dwwang earned 200 total points
ID: 1346019
Visit this site and download the TRAS component, it has all the functionalities you want:

http://www.magsys.co.uk/delphi/
0
 

Author Comment

by:Aleq
ID: 1346020
dwwang> I will look at TRAS. I'll grade your answer after looking at that component.
viktornet> Maybe, but there is another problem. In registry, there can be Dial-Up Adapter\... and Dial-Up Adapter 2\.... ..... But I don't know, which one is the right one.
MikeP> Nice solution, but it's quite dirty, isn't it? What if someone uses something else than classic DUN ? It won't work. But it's good idea. Thanx.
All> Sorry my english!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Suggested Courses
Course of the Month5 days, 17 hours left to enroll

626 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