CEF4Delphi/demos/Lazarus_Windows/OAuth2Tester/OAuth2Tester.lpr
salvadordf a0c8eda6e0 Update to CEF 120.1.10
Added Lazarus 3.0 support
2023-12-23 18:58:40 +01:00

35 lines
663 B
ObjectPascal

program OAuth2Tester;
{$MODE Delphi}
{$I ..\..\..\source\cef.inc}
uses
{$IFDEF DELPHI16_UP}
WinApi.Windows,
Vcl.Forms,
{$ELSE}
Forms,
LCLIntf, LCLType, LMessages, Interfaces,
{$ENDIF }
uCEFApplication,
uCEFConstants,
uOAuth2TesterFrm in 'uOAuth2TesterFrm.pas' {OAuth2TesterFrm};
{.$R *.res}
begin
GlobalCEFApp := TCefApplication.Create;
GlobalCEFApp.SetCurrentDir := True;
if GlobalCEFApp.StartMainProcess then
begin
Application.Initialize;
Application.MainFormOnTaskbar := True;
Application.CreateForm(TOAuth2TesterFrm, OAuth2TesterFrm);
Application.Run;
end;
DestroyGlobalCEFApp;
end.