[HELP]Unable to set auto_detect_proxy_settings_enabled

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

[HELP]Unable to set auto_detect_proxy_settings_enabled

Postby bojinov » Wed Jan 04, 2012 3:14 pm

Hi all,

Anyone able to use the auto_detect_proxy_settings_enabled ?

[cefclient_win.cpp]
Code: Select all
        CefWindowInfo info;
        CefBrowserSettings settings;

        // Populate the settings based on command line arguments.
        AppGetBrowserSettings(settings);

      settings.auto_detect_proxy_settings_enabled = true;


says that browser traits has no such member (VS2010)
Last edited by bojinov on Thu Jan 05, 2012 12:25 pm, edited 1 time in total.
bojinov
Newbie
 
Posts: 6
Joined: Sun Dec 04, 2011 8:04 am

Re: Unable to set auto_detect_proxy_settings_enabled

Postby magreenblatt » Wed Jan 04, 2012 3:16 pm

It's a member of CefSettings not CefBrowserSettings.
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: Unable to set auto_detect_proxy_settings_enabled

Postby bojinov » Wed Jan 04, 2012 3:24 pm

Fast and accurate. Thank you.
bojinov
Newbie
 
Posts: 6
Joined: Sun Dec 04, 2011 8:04 am

Re: Unable to set auto_detect_proxy_settings_enabled

Postby bojinov » Wed Jan 04, 2012 3:40 pm

Ok, I set it to true, but it does not seem to be working

cefclient_win.cpp
Code: Select all
  CefSettings settings;
 
  CefRefPtr<CefApp> app;

  // Populate the settings based on command line arguments.
  AppGetSettings(settings, app);
  settings.auto_detect_proxy_settings_enabled = true;

  // Initialize CEF.
  CefInitialize(settings, app);


There is proxy set in the IE and the option for Auto detect settings is enabled.
IE works fine
bojinov
Newbie
 
Posts: 6
Joined: Sun Dec 04, 2011 8:04 am

Re: [HELP]Unable to set auto_detect_proxy_settings_enabled

Postby alexanderc » Wed Jan 22, 2014 4:06 am

Ok, I set it to true, but it does not seem to be working.
...
There is proxy set in the IE and the option for Auto detect settings is enabled.
IE works fine


How was this problem solved ?

It seems, after 2 years, I encountered the same problem. My Internet connection settings are:
[V] Automatically detect settings
[V] Use automatic configuration script
Addr [ some address ]

I do not see in cefsettings a flag for "Use automatic configuration script". Is there a one ?
alexanderc
Newbie
 
Posts: 1
Joined: Wed Jan 22, 2014 3:53 am

Re: [HELP]Unable to set auto_detect_proxy_settings_enabled

Postby magreenblatt » Wed Jan 22, 2014 7:24 pm

alexanderc wrote:
Ok, I set it to true, but it does not seem to be working.
...
There is proxy set in the IE and the option for Auto detect settings is enabled.
IE works fine


How was this problem solved ?

It seems, after 2 years, I encountered the same problem. My Internet connection settings are:
[V] Automatically detect settings
[V] Use automatic configuration script
Addr [ some address ]

I do not see in cefsettings a flag for "Use automatic configuration script". Is there a one ?

CEF3 supports the same proxy settings as Chrome. See https://code.google.com/p/chromiumembed ... Resolution
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm


Return to Support Forum

Who is online

Users browsing this forum: Google [Bot] and 199 guests