You've already forked CEF4Delphi
mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-06-12 22:07:39 +02:00
Added error message boxes in CheckCEFLibrary
This commit is contained in:
@ -483,10 +483,16 @@ begin
|
|||||||
CEF_SUPPORTED_VERSION_BUILD) then
|
CEF_SUPPORTED_VERSION_BUILD) then
|
||||||
Result := True
|
Result := True
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
OutputDebugMessage('TCefApplication.CheckCEFLibrary error: Unsupported CEF version !');
|
OutputDebugMessage('TCefApplication.CheckCEFLibrary error: Unsupported CEF version !');
|
||||||
|
MessageBox(0, PWideChar('Unsupported CEF version !'), PWideChar('CEF4Delphi error'), MB_ICONERROR or MB_OK or MB_TOPMOST);
|
||||||
|
end;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
OutputDebugMessage('TCefApplication.CheckCEFLibrary error: CEF binaries missing !');
|
OutputDebugMessage('TCefApplication.CheckCEFLibrary error: CEF binaries missing !');
|
||||||
|
MessageBox(0, PWideChar('CEF binaries missing !'), PWideChar('CEF4Delphi error'), MB_ICONERROR or MB_OK or MB_TOPMOST);
|
||||||
|
end;
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function TCefApplication.StartMainProcess : boolean;
|
function TCefApplication.StartMainProcess : boolean;
|
||||||
|
Reference in New Issue
Block a user