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
|
if (TempErrorCode <> CEF_RESULT_CODE_NORMAL_EXIT) then
|
||||||
begin
|
begin
|
||||||
FLastErrorMessage := 'InitializeLibrary failed.' + CRLF +
|
FLastErrorMessage := 'InitializeLibrary failed.' + CRLF +
|
||||||
' ExitCode(' + inttostr(ExitCode) + ') : ' +
|
' ExitCode(' + inttostr(TempErrorCode) + ') : ' +
|
||||||
CefResultCodeToString(ExitCode);
|
CefResultCodeToString(TempErrorCode);
|
||||||
ShowErrorMessageDlg(FLastErrorMessage);
|
ShowErrorMessageDlg(FLastErrorMessage);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
"UpdateLazPackages" : [
|
"UpdateLazPackages" : [
|
||||||
{
|
{
|
||||||
"ForceNotify" : true,
|
"ForceNotify" : true,
|
||||||
"InternalVersion" : 803,
|
"InternalVersion" : 804,
|
||||||
"Name" : "cef4delphi_lazarus.lpk",
|
"Name" : "cef4delphi_lazarus.lpk",
|
||||||
"Version" : "141.0.6"
|
"Version" : "141.0.6"
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user