But I still can run if I click Yes.
I use Resource monitor to search and found no one use it when this tip bring out.
Why it happened?
caused by GetExtendedFileVersion?GlobalCEFApp := TCefApplication.Create;
// In case you want to use custom directories for the CEF3 binaries, cache, cookies and user data.
// If you don't set a cache directory the browser will use in-memory cache.
GlobalCEFApp.FrameworkDirPath := 'K:\DelphiSoft\cef4demos\cefspotify'; // 'K:\DelphiSoft\cef4demos\cef'
GlobalCEFApp.ResourcesDirPath := 'K:\DelphiSoft\cef4demos\cefspotify'; // 'K:\DelphiSoft\cef4demos\cef'
GlobalCEFApp.LocalesDirPath := 'K:\DelphiSoft\cef4demos\cefspotify\locales'; // 'K:\DelphiSoft\cef4demos\cef\locales';
{ GlobalCEFApp.EnableGPU := True; // Enable hardware acceleration
GlobalCEFApp.cache := 'cef\cache';
GlobalCEFApp.UserDataPath := 'cef\User Data';
}
// You *MUST* call GlobalCEFApp.StartMainProcess in a if..then clause
// with the Application initialization inside the begin..end.
// Read this https://www.briskbard.com/index.php?lang=en&pageid=cef
if GlobalCEFApp.StartMainProcess then
begin
Application.Initialize;
{$IFDEF DELPHI11_UP}
Application.MainFormOnTaskbar := True;
{$ENDIF}
Application.CreateForm(TForm1, Form1);
Application.Run;
end;
GlobalCEFApp.Free;
GlobalCEFApp := nil;