RASPHONE.exe 和 RASDIAL.exe 的区别 [英] Difference between RASPHONE.exe and RASDIAL.exe

查看:59
本文介绍了RASPHONE.exe 和 RASDIAL.exe 的区别的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试以编程方式建立拨号连接.我尝试使用 RASdial.exe 和 RASPhone.exe,除了 RasDial.exe 在控制台中显示错误外,两者都做同样的事情,而 RasPhone.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.

谁能解释一下 Rasdial 和 Rasphone 之间的区别,以及哪个是正确的拨号连接.我想要用户界面而不是控制台中的错误消息.

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.

请详细解释一下.

推荐答案

RASDIAL.exe 是 Win32 RasDial API,通常用于无法显示用户界面的情况.这就是错误显示在控制台中的原因.

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 是 Win32 的包装器RasPhonebookDlg API,通常在允许接口时使用.如果您使用它,您将有更多选项来显示标准拨号界面.

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.

它们都可以用于拨号连接,这实际上取决于哪个适合您正在开发的应用程序的特定需求.根据您希望如何显示错误消息,您可能需要调用 API 而不是使用可执行文件.

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.

这篇关于RASPHONE.exe 和 RASDIAL.exe 的区别的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆