标题:谁能帮我解决下面错误,到底怎样改才正确
取消只看楼主
rogersgb
Rank: 1
等 级:新手上路
帖 子:73
专家分:0
注 册:2016-2-3
结帖率:47.37%
 问题点数:0 回复次数:0 
谁能帮我解决下面错误,到底怎样改才正确
  错误提示:错误   
错误    1    没有为“Public Sub RasDialFunc(ByRef unMsg As Integer, ByRef ConnState As RasConnState, ByRef dwError As Integer)”的形参“ConnState”指定实参。    C:\Documents and Settings\Administrator\桌面\vpdn\浙江国税VPDN专用拨号软件\浙江国税VPDN专用拨号软件\link.vb    120    78    浙江国税VPDN专用拨号软件
 错误    2    没有为“Public Sub RasDialFunc(ByRef unMsg As Integer, ByRef ConnState As RasConnState, ByRef dwError As Integer)”的形参“dwError”指定实参。    错误    3    没有为“Public Sub RasDialFunc(ByRef unMsg As Integer, ByRef ConnState As RasConnState, ByRef dwError As Integer)”的形参“unMsg”指定实参。   

代码如下:
      lngRetCode = RasDial(APINULL, Nothing, lprasdialparams, 0, AddressOf RasDialFunc(), hRasConn) '异步通信
Public Sub RasDialFunc(ByRef unMsg As Integer, ByRef ConnState As RasConnState, ByRef dwError As Integer)
        Debug.Print(unMsg)
    End Sub
搜索更多相关主题的帖子: Documents 拨号软件 浙江 
2016-05-26 09:03



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-465259-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.304836 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved