mirror of
https://github.com/keymanapp/keyman.git
synced 2026-08-08 01:45:32 +00:00
34 lines
1.2 KiB
ObjectPascal
34 lines
1.2 KiB
ObjectPascal
program SentryClientVclTest;
|
|
|
|
uses
|
|
Vcl.Forms,
|
|
Sentry.Client.Test.SentryClientVclTestMain in 'Sentry.Client.Test.SentryClientVclTestMain.pas' {frmSentryClientVclTestMain},
|
|
Sentry.Client in '..\Sentry.Client.pas',
|
|
sentry in '..\sentry.pas',
|
|
Sentry.Client.Vcl in '..\Sentry.Client.Vcl.pas',
|
|
Keyman.System.KeymanSentryClient in '..\..\..\general\Keyman.System.KeymanSentryClient.pas',
|
|
KeymanVersion in '..\..\..\general\KeymanVersion.pas',
|
|
KeymanPaths in '..\..\..\general\KeymanPaths.pas',
|
|
RegistryKeys in '..\..\..\general\RegistryKeys.pas',
|
|
DebugPaths in '..\..\..\general\DebugPaths.pas',
|
|
ErrorControlledRegistry in '..\..\..\vcl\ErrorControlledRegistry.pas',
|
|
utilexecute in '..\..\..\general\utilexecute.pas',
|
|
Unicode in '..\..\..\general\Unicode.pas';
|
|
|
|
{$R *.res}
|
|
|
|
begin
|
|
TKeymanSentryClient.Start(TSentryClientVcl, kscpDesktop, '');
|
|
try
|
|
Application.Initialize;
|
|
Application.MainFormOnTaskbar := True;
|
|
Application.CreateForm(TfrmSentryClientVclTestMain, frmSentryClientVclTestMain);
|
|
Application.Run;
|
|
|
|
// This should be done before shutting down the exception manager
|
|
if Application.MainForm <> nil then
|
|
Application.MainForm.Free;
|
|
finally
|
|
TKeymanSentryClient.Stop;
|
|
end;
|
|
end.
|