Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GetHeaderMap doesn't work - Access Violation #2

Closed
GoogleCodeExporter opened this issue Jul 7, 2015 · 1 comment
Closed

GetHeaderMap doesn't work - Access Violation #2

GoogleCodeExporter opened this issue Jul 7, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
procedure TChromium1.WebBeforeResourceLoad(Sender: TCustomChromium;
  const browser: ICefBrowser; const request: ICefRequest;
  var redirectUrl: ustring; var resourceStream: ICefStreamReader;
  var mimeType: ustring; loadFlags: Integer; out Result: TCefRetval);
var
  Headers: TCefStringMap; // or Pointer
begin
  request.GetHeaderMap(Headers);
end;

What is the expected output? What do you see instead?
Expecting the header map, getting Access violation every time.

What version of the product are you using? On what operating system?
0.1 + latest CEF binaries, Windows Vista x64

Please provide any additional information below.
GetHeaderMap is not working at all, throws access violation.

Original issue reported on code.google.com by ad...@enesce.com on 29 Aug 2010 at 3:47

@GoogleCodeExporter
Copy link
Author

uses this code to handle string map.

var
  hm: ICefStringMap;
begin
  hm := TCefStringMapOwn.Create;
  request.GetHeaderMap(hm);

Original comment by hgourv...@gmail.com on 20 Sep 2010 at 1:48

  • Changed state: Fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant