1
0
mirror of https://github.com/salvadordf/CEF4Delphi.git synced 2025-06-12 22:07:39 +02:00

Bug fix #43 : backwards compatibility

This commit is contained in:
Salvador Diaz Fau
2017-07-19 12:12:08 +02:00
parent 3f3f74eeb5
commit d54ab43b04
31 changed files with 752 additions and 825 deletions

View File

@ -50,7 +50,7 @@ uses
{$IFDEF DELPHI16_UP}
WinApi.Windows, System.Classes, System.SysUtils, System.UITypes, WinApi.ActiveX,
{$ELSE}
Windows, Classes, SysUtils, UITypes, ActiveX,
Windows, Classes, SysUtils, Controls, ActiveX,
{$ENDIF}
uCEFTypes, uCEFInterfaces, uCEFLibFunctions, uCEFResourceHandler;
@ -658,7 +658,9 @@ begin
else
TempDir := '';
Result := FileExists(TempDir + 'icudtl.dat') and
Result := FileExists(TempDir + 'natives_blob.bin') and
FileExists(TempDir + 'snapshot_blob.bin') and
FileExists(TempDir + 'icudtl.dat') and
FileExists(TempDir + 'cef.pak') and
FileExists(TempDir + 'cef_100_percent.pak') and
FileExists(TempDir + 'cef_200_percent.pak') and
@ -696,8 +698,6 @@ begin
FileExists(TempDir + 'd3dcompiler_47.dll') and
FileExists(TempDir + 'libEGL.dll') and
FileExists(TempDir + 'libGLESv2.dll') and
FileExists(TempDir + 'natives_blob.bin') and
FileExists(TempDir + 'snapshot_blob.bin') and
FileExists(TempDir + 'widevinecdmadapter.dll');
except
on e : exception do