Пример #1
0
	// Set a proxy or multiple proxies:
	// String Format= "http=http://Proxy1.com:8000 https=https://Proxy2.com:443"
	// You can specify separate proxies for HTTP, HTTPS, FTP
	// u16_Proxy = "" --> Use Internet Explorer default settings
	void SetProxyW(const CStrW& sw_Proxy)
	{
		mi_Internet.SetProxy(sw_Proxy);
	}
Пример #2
0
 // Set a proxy or multiple proxies:
 // String Format= "http=http://Proxy1.com:8000 https=https://Proxy2.com:443"
 // You can specify separate proxies for HTTP, HTTPS, FTP
 // u16_Proxy = "" --> Use Internet Explorer default settings
 // The proxy user and proxy password are normally stored by Internet Explorer but this does not work always.
 // If Wininet.dll returns error 407 repeatedly try setting User and Password here
 void SetProxyW(const CStrW& sw_Server, const CStrW& sw_User=L"", const CStrW& sw_Pass=L"")
 {
     mi_Internet.SetProxy(sw_Server, sw_User, sw_Pass);
 }