1
0
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:
Salvador Díaz Fau
2025-10-17 18:34:48 +02:00
parent 5436482422
commit ccd0a3fd00
2 changed files with 3 additions and 3 deletions

View File

@@ -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;

View File

@@ -2,7 +2,7 @@
"UpdateLazPackages" : [
{
"ForceNotify" : true,
"InternalVersion" : 803,
"InternalVersion" : 804,
"Name" : "cef4delphi_lazarus.lpk",
"Version" : "141.0.6"
}