Discussion Locked

Custom NT RAS dialer

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I really like your site. It has provided insights that I have not found elsewhere.

I have a slight issue I need a little direction...

------------------------

I work for a VERY small company that has some stores that attached via MicrosoftNT RAS.

To cut long distance cost I have implemented Microsoft PPTP "VPN".

In order to establish a "VPN" connection RAS must make two physical connections.
1) Using the Modem, to the RAS entity called [ISP]
2) Using the PPTP port, to the RAS entity called [VPNInternet]
(These entities are located @ %SystemRoot%\System32\RAS\rasphone.pbk )

To do this I wrote an VB application that uses "RASDIAL.EXE" then later used "RasApi32.DLL" to do this launch and administer the RAS ISP connection and RAS VPNInternet connection.

What I need to do now is to take this a one more step,
By creating a custom dialer that uses the existing "RasApi32.DLL" calls but will launch my application instead on the defaults (RASPHONE.EXE) in instanceson AutoDial and Internet Explorer dialing...

Do you have any suggestions?

Thank you!

Steven V Brown
svbrown@tandk.com
steven_v_brown@hotmail.com

3 replies

by expertpc

Why are you using VB scripting to establish your connection? Check under NT Help for estaplishing a demand dial VPN.

by steven_v_brown

I require more control and functionality.
I have found the specification on the 'rasapi32.dll' myself. Now does anyone what to share the specification on the 'rasmon.dll'?

This discussion is closed to new replies.