You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-11-23 21:34:53 +02:00
Show an error message when CEF initialization is not successfull.
This commit is contained in:
@@ -3310,8 +3310,8 @@ begin
|
||||
if (TempErrorCode <> CEF_RESULT_CODE_NORMAL_EXIT) then
|
||||
begin
|
||||
FLastErrorMessage := 'InitializeLibrary failed.' + CRLF +
|
||||
' ExitCode(' + inttostr(ExitCode) + ') : ' +
|
||||
CefResultCodeToString(ExitCode);
|
||||
' ExitCode(' + inttostr(TempErrorCode) + ') : ' +
|
||||
CefResultCodeToString(TempErrorCode);
|
||||
ShowErrorMessageDlg(FLastErrorMessage);
|
||||
end;
|
||||
end;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
"UpdateLazPackages" : [
|
||||
{
|
||||
"ForceNotify" : true,
|
||||
"InternalVersion" : 803,
|
||||
"InternalVersion" : 804,
|
||||
"Name" : "cef4delphi_lazarus.lpk",
|
||||
"Version" : "141.0.6"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user