1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2024-11-24 08:02:15 +02:00

Added error message boxes in CheckCEFLibrary

This commit is contained in:
Salvador Diaz Fau 2017-03-29 10:55:39 +02:00
parent ca6a214a3d
commit 9fa109af16

View File

@ -483,10 +483,16 @@ begin
CEF_SUPPORTED_VERSION_BUILD) then
Result := True
else
OutputDebugMessage('TCefApplication.CheckCEFLibrary error: Unsupported CEF version !');
begin
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
else
OutputDebugMessage('TCefApplication.CheckCEFLibrary error: CEF binaries missing !');
begin
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;
function TCefApplication.StartMainProcess : boolean;