mrliyouliang / delphichromiumembedded

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

Application crash on initialization (cef r365) #35

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout source (revision r133)
2. Cretae empty application in RAD Studio, place TChromium onto form;
3. Run application.

What is the expected output? What do you see instead?
Normal application start is expected. Instead, appplication crashes in 
ceflib.CefLoadLib on line #7367 cef_initialize.

What version of the product are you using? On what operating system?
Embarcadero RAD Sturio XE, Windows XP Professional SP3

Please provide any additional information below.
procedure CefLoadLib(const Cache, UserAgent, ProductVersion, Locale, LogFile, 
ExtraPluginPaths: ustring;
  LogSeverity: TCefLogSeverity; GraphicsImplementation: TCefGraphicsImplementation; LocalStorageQuota: Cardinal;
  SessionStorageQuota: Cardinal; {$ifdef MSWINDOWS}AutoDetectProxySettings: Boolean;{$endif} JavaScriptFlags: ustring);
*  *   *
    settings.javascript_flags := CefString(JavaScriptFlags);
    settings.auto_detect_proxy_settings_enabled := AutoDetectProxySettings;
    cef_initialize(@settings); // <----- Add breakpoint here
    if settings.extra_plugin_paths <> nil then
      cef_string_list_free(settings.extra_plugin_paths);
  end;
end;

Original issue reported on code.google.com by Levko...@gmail.com on 5 Dec 2011 at 4:05

GoogleCodeExporter commented 8 years ago
not a bug

Original comment by hgourv...@gmail.com on 5 Dec 2011 at 4:09

GoogleCodeExporter commented 8 years ago
What may I do to make my app work? Thanks

Original comment by Levko...@gmail.com on 5 Dec 2011 at 4:12

GoogleCodeExporter commented 8 years ago
reading support forum ...
https://groups.google.com/forum/#!topic/delphichromiumembedded/ORhfvNpoEiI

Original comment by hgourv...@gmail.com on 5 Dec 2011 at 4:20

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I've already seen it, but it's not my case. Application crashes inside 
libcef.dll, silently, without any messages. Exe and all dll's are placed in the 
same directory.
Or should my question be addressed to developers of libcef?

Original comment by Levko...@gmail.com on 5 Dec 2011 at 4:40

GoogleCodeExporter commented 8 years ago
you are probably using old binaries, check version of libcef.dll.
This is not the place to ask questions, it is a bug report area.

Original comment by hgourv...@gmail.com on 5 Dec 2011 at 4:45