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;
|
||||
|
||||
Reference in New Issue
Block a user