mirror of
https://github.com/salvadordf/CEF4Delphi.git
synced 2025-04-17 06:57:13 +02:00
Remove the outdated license text. Use the main cef.inc file in all Delphi demos. Fixed issue #493.
29 lines
481 B
ObjectPascal
29 lines
481 B
ObjectPascal
program MiniBrowser;
|
|
|
|
{$I ..\..\..\source\cef.inc}
|
|
|
|
uses
|
|
Forms,
|
|
uCEFApplication,
|
|
uMiniBrowser in 'uMiniBrowser.pas' {MiniBrowserFrm};
|
|
|
|
{$R *.res}
|
|
|
|
const
|
|
IMAGE_FILE_LARGE_ADDRESS_AWARE = $0020;
|
|
|
|
{$SetPEFlags IMAGE_FILE_LARGE_ADDRESS_AWARE}
|
|
|
|
begin
|
|
CreateGlobalCEFApp;
|
|
|
|
if GlobalCEFApp.StartMainProcess then
|
|
begin
|
|
Application.Initialize;
|
|
Application.CreateForm(TMiniBrowserFrm, MiniBrowserFrm);
|
|
Application.Run;
|
|
end;
|
|
|
|
DestroyGlobalCEFApp;
|
|
end.
|