You've already forked lazarus-ccr
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:
@ -6,8 +6,8 @@ interface
|
||||
|
||||
uses
|
||||
LCLIntf,
|
||||
SysUtils, Classes, Forms, Dialogs,
|
||||
Buttons,LResources,StdCtrls, onguard,ogutil;
|
||||
SysUtils, Classes, Forms, Dialogs, Buttons, StdCtrls,
|
||||
onguard, ogutil;
|
||||
|
||||
type
|
||||
TCodeGenFrm = class(TForm)
|
||||
@ -30,6 +30,7 @@ var
|
||||
|
||||
implementation
|
||||
|
||||
{$R *.lfm}
|
||||
|
||||
procedure TCodeGenFrm.CopySbClick(Sender: TObject);
|
||||
var
|
||||
@ -53,15 +54,12 @@ begin
|
||||
OgMakeCodes1.SetKey(CKey);
|
||||
if OgMakeCodes1.Execute then begin
|
||||
{get the code}
|
||||
Work := Default(TCode);
|
||||
OgMakeCodes1.GetCode(Work);
|
||||
{display the code}
|
||||
CodeEd.Text := OgUtil.BufferToHex(Work, SizeOf(Work));
|
||||
end;
|
||||
|
||||
|
||||
end;
|
||||
|
||||
initialization
|
||||
{$i CODEGENU.lrs}
|
||||
|
||||
end.
|
||||
|
Reference in New Issue
Block a user