crabb wrote:
hi
i made a little application in vc++
i used wininet to set a proxy and used the normal webbrowser activex control
(IE)
now i changed to mozillas activex this was very easy cause its fully
compatible
but my problem is
i used wininet to set a proxy for all webrequests
and this didnt work with mozilla now
somebody knows how to fix this easily?
i guess i have to use neckos library
but have no clue how to do it (just setting a proxy)
is it also compatible to wininet like mozilla is compatible to
webbrowsercontrol?

thanx for support




necko doesn't integrate with windows at that level. you can configure a proxy server for the mozilla activex control by modifying the preferences, which are accessible via the interface nsIPrefBranch.


the following preferences can be set to modify the proxy server configuration:

pref("network.proxy.autoconfig_url",        "");
pref("network.proxy.type",                  0);
pref("network.proxy.ftp",                   "");
pref("network.proxy.ftp_port",              0);
pref("network.proxy.gopher",                "");
pref("network.proxy.gopher_port",           0);
pref("network.proxy.http",                  "");
pref("network.proxy.http_port",             0);
pref("network.proxy.ssl",                   "");
pref("network.proxy.ssl_port",              0);
pref("network.proxy.socks",                 "");
pref("network.proxy.socks_port",            0);
pref("network.proxy.socks_version",         5);
pref("network.proxy.no_proxies_on",         "localhost, 127.0.0.1");
pref("network.proxy.failover_timeout",      1800); // 30 minutes

proxy.type is 1 for manual proxy config and 2 for configuration via a PAC URL (proxy.autoconfig_url).

-darin
_______________________________________________
Mozilla-netlib mailing list
[EMAIL PROTECTED]
http://mail.mozilla.org/listinfo/mozilla-netlib

Reply via email to