Link to home
Start Free TrialLog in
Avatar of Miramares
Miramares

asked on

RAS dialing problem

Hiho !

I have a big trouble with RAS dialing under NT. Win32 SDK say, that NT doesn't support direct modem dialing (function rasDial). So, under NT we must use standard system dialog for calling (function rasDialDlg). This function has several parameters. Phonebook, Phoneentry, phone number and RAS dial object. I have tryied all combinations of default parameters or existing Phonebooks etc... All other function work fine with it, but this one allways show message: 633 - phone entry not found in phnone book. But if I fill combobox using other fns, it exist....

What with it ? It is needed for controlling telephone access (program call create connection).

Thanx
Mira
Avatar of simonet
simonet
Flag of Brazil image

What programming language are you using? If you're using Delphi or Delphi source code can help you, then I have the some sample source code that can answer your questions.

Alex
Avatar of Miramares
Miramares

ASKER

Yes I'm using Delphi and Delphi source code can help me. Can you send me this sample?
Yes I'm using Delphi and Delphi source code can help me. Can you send me this sample?
You'll find everythig you need to know about RAS and DialUp connections in the projects in this zip file:

http://www.bhnet.com.br/~simonet/extras/dialup.zip

Yours,

Alex

Sorry, but it's not, what I wont. It's only RAS dialing for W95. I wont to make RAS connections under WNT, but when I get it with fnc RasDial, then I cant' establish connection.

Official Microsoft MSDN say:
(RasDialParams)
The szUserName and szPassword strings are used to authenticate the user's access to the remote access server.

Windows NT/2000: RAS does not actually log the user onto the network. The user does this in the usual manner, for example, by logging on with cached credentials prior to making the connection or by using CTRL+ALT+DEL, after the RAS connection is established.

Also I find fnc RasDialDlg and I wont to make connection with this fnc. While this fnc can "The RasDialDlg function displays a series of dialog boxes that are similar to the dialog boxes that main Dial-Up Networking dialog box displays when the user selects the Dial button." (Microsoft MSDN). But this fnc every time shows Error message no.623 - phone entry not found in phnone book.

I can send a part of my source code to look what I need.


I am sorry that my programs didn't work for you. However, here's a link that I digged up for you:

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

It claims to be compatible with Windows NT. Please give it a try and let me know how it went, ok?

Yours,

Alex
simonet, come from yours points :-)

It was what I want.
I thanks you.

Mira
ASKER CERTIFIED SOLUTION
Avatar of simonet
simonet
Flag of Brazil image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial