自动拨号(100分)

  • 主题发起人 主题发起人 liaha
  • 开始时间 开始时间
L

liaha

Unregistered / Unconfirmed
GUEST, unregistred user!
请问各位如何使用程序自动拨号,就象IE那样,如果网络未连接<br>就进行自动拨号.
 
&lt;a href=http://ftp.maoming.gd.cn/c/leonyxl/software/rasdial.zip&gt;自动拨号上网的例子&lt;/a&gt;<br>最新的拨号网络编程例子,演示了拨号连接的各项功能<br>有源码,Ie的自动拨号很无聊,我从不用它。<br>而且,有安全问题,通过程序可以轻松的计算出密码。
 
有系统API调用的例子吗??我想研究研究
 
For example, you have a connection named "163", you can open this <br>connection with API winexex():<br><br>winexec('rundll32.exe rnaui.dll,RnaDial '+'163',9);<br>
 
HSW,我也要做相关拨号上网,能把例子发给我吗?急需!!<br>我的E_mail : qiuhaobo@eastcom.com<br>十分感谢!!
 
winexec('rundll32.exe rnaui.dll,RnaDial '+'163',9);
 
winexec('rundll32.exe rnaui.dll,RnaDial '+'163',9);<br>只能启动拨号的窗口,并不能自动拨号!<br>对于这个问题,我也在想,如果大家有什么解决方案,请发份到<br>&nbsp; gcqmail@sohu.com
 
我需要通过拨号连接一个拨号服务器,知道服务器的IP和phone nummber。<br>如何连接,自动挂断!!Help!!<br>
 
IE的密码如何算出,这我倒比较有兴趣<br>你可以调用tapi.dll中的函数,RasXXXX(),具体可以查msdn,也可以查关键字WinInet<br><br>// 判断是否拨号<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;bool ComputerOnLine(void)<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;{<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;RASCONN ras[10];<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;DWORD dSize,dNumber;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;ras[0].dwSize = 412; &nbsp;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;dSize = sizeof( ras );<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if( RasEnumConnections( ras, &amp;dSize, &amp;dNumber ) == 0 )<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;if(dNumber&gt;0)return true;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;return false;<br>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;}<br><br>另外:<br>MSDN中MSDN/98VS/2052/SAMPLES/VB98/Dialer目录下有Microsoft提供的VB示范程序
 
这个问题很难耶,我手里有一大堆的自动拨号控件以及拨号的API资料,<br>有兴趣的话可以向我要。<br>starbzj@163.net
 
Look for what you want in "rasdial32.dll"
 
hbffff能否告诉,“rasdial32.dll”如何使用?万分感谢。<br>wjwzh@sina.com
 
接受答案了.
 
后退
顶部