|
本帖最后由 王王 于 2011-3-6 17:23 编辑
请问 怎么设置代理
我用
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyEnable", "REG_DWORD", 0x00000001)
RegWrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings", "ProxyServer", "REG_SZ", $x)
DllCall("wininet.dll", "uint", "InternetSetOption", "ptr", 0, "dword", 39, "ptr", 0, "dword", 0)
DllCall("wininet.dll", "uint", "InternetSetOption", "ptr", 0, "dword", 37, "ptr", 0, "dword", 0)
设置过后 注册表里边 ProxyEnable ProxyServer的值都已经改变为 1 和输入IP
但是 在IP138网站查看IP还是我ADSL的IP 而不是改变后的IP |
|