[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

RAS conection creation using a given modem controler in win95

Posted on 1998-12-10
13
Medium Priority
?
253 Views
Last Modified: 2010-04-04
My program must develop the following task: I have two modem controlers in my pc. The program must ask me for one, an then, knowing this, construct (create from zero) a new conection in RAS, to a predeterminated provider (known by the program itself). But this conection must be configurated to use the chosen modem. No more than it, only to create a conection using a previously given modem. Must be some function in an API that allows this task. I know of one for creating conections (as well as some function for modifiying parameters in a already created conection, as for instance, the software compression), but I am not able to find one that besides asks me (my program) for the precise modem I want to use. This is what I really need: the function and API for creating a conection such that asks me for the modem device I want to use.
0
Comment
Question by:juarrero
[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
  • 7
  • 3
  • 3
13 Comments
 
LVL 4

Expert Comment

by:dwwang
ID: 1350440
Could you tell me what API do you use to create connections?
0
 
LVL 4

Expert Comment

by:jeurk
ID: 1350441
maybe you find the following link usefull
http://members.xoom.com/MrPAP/MSDN_Help.htm
0
 

Author Comment

by:juarrero
ID: 1350442
An answer for dwwang:

The API is RASApi. The function is RasSetEntryDialParams

Sorry for de delay.
0
Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

 
LVL 4

Expert Comment

by:dwwang
ID: 1350443
If I was not wrong, RasSetEntryDialParams is for modifying existing entries, right? For create new one, you can use RasCreatePhonebookEntry.

There is a new API called RasSetEntryProperties, which contains the parameters for modem device information, but as MShelp said, it's only available for WinNT.
0
 

Author Comment

by:juarrero
ID: 1350444
jeurk:

I have seen the page, but there is information for NT, not W95.

The problem is that I only know how to change de modem in the connection, but the parameters, such as parity, result in a mixture of the parameters of other modem controlers
0
 
LVL 4

Expert Comment

by:jeurk
ID: 1350445
Sorry,
I once tryed similar programming under 95 but, it's really to much work.
Good luck.
0
 

Author Comment

by:juarrero
ID: 1350446
Response to dwwang:

Yes, but, I said to jeurk...

The problem is that the parameters, such as the parity, result in a mixture of the parameters of other modem controlers and besides, it does not happen always. (I do not know the cause).
I do not know the estructures to copy the parameters to the new entry.  Or any other sugerence respect to this :)
0
 
LVL 4

Expert Comment

by:dwwang
ID: 1350447
Well, for so much points, I'll have a try! :)
0
 
LVL 4

Expert Comment

by:jeurk
ID: 1350448
Maybe you could show us what you already have, maybe we can look out your problem ?
I'm talkind source code here.
0
 
LVL 4

Expert Comment

by:dwwang
ID: 1350449
Hi, juarrero:
I just have the same idea. If you can e-mail me your souce code to create and modify the RAS entries, then we can take less time to go further :)

e-mail :dw-wang@263.net
0
 
LVL 4

Accepted Solution

by:
dwwang earned 800 total points
ID: 1350450
Hi, I found the solution, download this component, and you get what you want:
http://mirror.aarnet.edu.au/delphi/ftp/d20free/d_ras.zip 

See the testras program included, note that there are two "create new connection" buttons in the main form, select the one with '*' and see its implmentation in source code.

Regards,
Wang
0
 
LVL 4

Expert Comment

by:dwwang
ID: 1350451
Hi, juarrero:

How are things going?
0
 
LVL 4

Expert Comment

by:dwwang
ID: 1350452
Have you tried the programm?
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 Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
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…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
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