Code: Select all
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.Cache := 'C:\0\cache';
GlobalCEFApp.OnWebKitInitialized := GlobalCEFApp_OnWebKitInitialized;
if GlobalCEFApp.StartMainProcess then
begin
Application.Initialize;
Application.CreateForm(TForm1, Form1);
Application.Run;
End;
GlobalCEFApp.Free;
GlobalCEFApp := nil;
Code: Select all
ChromiumWindow1.ChromiumBrowser.LoadURL('https://vk.com/');
However, C:\0\cache is creating, has file with cookies and it probable (checked in hex-editor) has cookies for vk.com.
And same code works with CEF4Delphi 79 (last release on GitHub)! But not works with 80.0.4.0 and 80.0.8.0