Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Difference between RASPHONE.exe and RASDIAL.exe

I try to make a dial-up connection programatically. I tried with RASdial.exe and RASPhone.exe, Both does the same except RasDial.exe display the errors in console where as RasPhone.exe gives in user Interface.

Can Someone explain me the difference between Rasdial and Rasphone and also which is right one to make a dial-up connection. And I want the error messages in User Interface and not in console.

Please explain me in detail.

like image 703
2vision2 Avatar asked Jul 13 '12 11:07

2vision2


People also ask

What is Rasdial EXE?

Originally developed by Microsoft Corporation, rasdial.exe is a legitimate file process that is associated with Windows Operating System. This process is known as Remote Access Client Side Command Line Dial UI and is located in C:\Windows\System32 by default.

What is Rasphone command?

Click Start, type rasphone -a in the Start Search box, and then press Enter key. Click Dial-up button on the How do you want to connect page. Type the telephone number and destination name(e.g. Dial-Up), on the Type the telephone number to connect to page, click Next button to continue.


1 Answers

RASDIAL.exe is a wrapper around the Win32 RasDial API, and is typically used in situations where no user interface can be shown. This is why the errors are displayed in a console.

RASPHONE.exe is a wrapper around the Win32 RasPhonebookDlg API, and is typically used when an interface may be allowed. You'll have a lot more options for displaying the standard dialing interface if you use this.

They can both be used to dial a connection, it really just depends on which fits your particular needs for the application you're developing. Depending on how you want to display the error message, you may need to call the APIs rather than using the executables.

like image 87
Jeff Winn Avatar answered Oct 05 '22 19:10

Jeff Winn