apimall / chromiumembedded

Automatically exported from code.google.com/p/chromiumembedded
0 stars 1 forks source link

How work with proxy in cef1? #1505

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. i am create new project and write code
uses ceflib;

procedure AppCefGetProxyForUrl(const url: ustring; var proxyType: TCefProxyType;
  var proxyList: ustring );
begin
  proxyType := CEF_PROXY_TYPE_NAMED;
  proxyList := '127.0.0.1:8080';
end;

procedure TForm2.FormCreate(Sender: TObject);
begin
chrm1.Load('http://myip.ru');
end;

initialization
  CefGetProxyForUrl := @AppCefGetProxyForUrl;

2. then compile and run project, i see that proxy not used

3. why?

What is the expected output? What do you see instead?
i want see not my ip-address, but i see my ip :(

What version of the product are you using? On what operating system?
i am use cef1 for delphi, and compile on CodeGear™ RAD Studio 2007, OS 
Windows7
component info:
  CEF_REVISION = 607;
  COPYRIGHT_YEAR = 2012;

  CHROME_VERSION_MAJOR = 18;
  CHROME_VERSION_MINOR = 0;
  CHROME_VERSION_BUILD = 1025;
  CHROME_VERSION_PATCH = 166;

Please provide any additional information below.

Original issue reported on code.google.com by ilshat.m...@gmail.com on 26 Jan 2015 at 3:28

GoogleCodeExporter commented 9 years ago
Please ask questions on the CEF Forum: http://magpcss.org/ceforum

Original comment by magreenb...@gmail.com on 26 Jan 2015 at 7:07