OnGuard: Replace in all demo projects .lrs resource by .res resource. Less hints and warnings.

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@8724 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
wp_xxyyzz
2023-02-20 17:36:51 +00:00
parent 91b3ac7ce0
commit e456d87021
100 changed files with 824 additions and 2317 deletions

View File

@ -14,12 +14,8 @@ unit Exusg2u;
interface
uses
SysUtils,Classes,Controls,
Forms, Dialogs, StdCtrls, Buttons, OnGuard,
LResources,
OgUtil,
IniFiles;
SysUtils,Classes,Controls, Forms, Dialogs, StdCtrls, Buttons, IniFiles,
OnGuard, OgUtil;
const
CKey : TKey = ($E5,$8F,$84,$D6,$92,$C9,$A4,$D8,
@ -51,7 +47,7 @@ var
implementation
{$R *.lfm}
{==========================================================================}
@ -100,8 +96,7 @@ begin
Exit;
end;
ogRunCountUsed : S := 'No more runs allowed' + #13
+ ' Register NOW ';
ogRunCountUsed : S := 'No more runs allowed.' + LineEnding + 'Register NOW';
ogInvalidCode : begin
if not (FileExists(TheDir + 'Usage2.ini')) then begin
@ -124,8 +119,7 @@ begin
S := 'Invalid Code';
end;
ogCodeExpired : S := 'Trial Run period expired' + #13
+ ' Register NOW ';
ogCodeExpired : S := 'Trial Run period expired.' + LineEnding + 'Register NOW';
end;
ShowMessage(S);
@ -153,9 +147,5 @@ begin
end;
initialization
{$i exusg2u.lrs}
end.