找回密码
 加入
搜索
楼主: kn007

[确认BUG并已修正] UDF BUG - GuiIPAddress.au3

[复制链接]
发表于 2009-7-25 11:35:19 | 显示全部楼层
找到并修改:
Func _GUICtrlIpAddress_SetEx($hWnd, $tIP)
    If $Debug_IP Then __UDF_ValidateClassName($hWnd, $tIP)
    _SendMessage($hWnd, $IPM_SETADDRESS, 0, _
                _WinAPI_MakeLong(BitOR(DllStructGetData($tIP, "Field4"), 0x100 * DllStructGetData($tIP, "Field3")), _
                BitOR(DllStructGetData($tIP, "Field2"), 0x100 * DllStructGetData($tIP, "Field1"))))
;~     _SendMessage($hWnd, $IPM_SETADDRESS, 0, _
;~                 _WinAPI_MakeLong(BitOR(DllStructGetData($tIP, "Field2"), 0x100 * DllStructGetData($tIP, "Field1")), _
;~                 BitOR(DllStructGetData($tIP, "Field4"), 0x100 * DllStructGetData($tIP, "Field3"))))                
                
                
EndFunc   ;==>_GUICtrlIpAddress_SetEx
发表于 2009-7-25 13:27:29 | 显示全部楼层
thesnoW说完整些嘛
thesnoW☭ 2009-7-25 11:30:40
打开GuiIPAddress.au3,找到_GUICtrlIpAddress_SetEx函数
修改为:
    If $Debug_IP Then __UDF_ValidateClassName($hWnd, $tIP)
    _SendMessage($hWnd, $IPM_SETADDRESS, 0, _
                _WinAPI_MakeLong(BitOR(DllStructGetData($tIP, "Field4"), 0x100 * DllStructGetData($tIP, "Field3")), _
                BitOR(DllStructGetData($tIP, "Field2"), 0x100 * DllStructGetData($tIP, "Field1"))))
发表于 2009-7-25 14:08:53 | 显示全部楼层
还不够完整么?晕.
我本来准备说一句话:找到_GUICtrlIpAddress_SetEx函数把里面每个段的顺序改下...
 楼主| 发表于 2009-7-25 15:59:49 | 显示全部楼层
解决!
 楼主| 发表于 2009-7-26 08:45:56 | 显示全部楼层
thesnoW说完整些嘛
thesnoW☭ 2009-7-25 11:30:40
打开GuiIPAddress.au3,找到_GUICtrlIpAddress_SetEx函数
修改为:
    If $Debug_IP Then __UDF_ValidateClassName($hWnd, $tIP)
    _SendMessage($hWnd, ...
cnmini 发表于 2009-7-25 13:27

这还不完整!?
发表于 2009-9-12 18:44:05 | 显示全部楼层
我这怎么没事呀
发表于 2010-3-14 05:42:57 | 显示全部楼层
我这里也遇到了这个问题
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-5-2 06:17 , Processed in 0.064841 second(s), 13 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表