سلام.
ببخشید یک سؤال
با توجه به:
[b]Example code in Delphi for using Code Coffer[/b]
Simply add one variable and two lines of code into your code to keep space for CodeCoffer protection code(about 16k bytes) and specify the code to be protected.
Please copy files CodeCoffer_begin.inc and CodeCoffer_end.inc (you can found them in example subdir of CodeCoffer directory) to your project directory.
Delphi Example:
procedure TForm1.FormCreate(Sender: TObject);
var CodeCofferVar:dword; // the only one variable needed by CodeCoffer
begin
CodeCofferVar:=0;
{$I CodeCoffer_begin.inc} //about 16000 bytes for protection code and begin position signature
if CodeCofferVar=0 then
label1.caption:='Program has not been Protected'
else
label1.caption:='Program has been Protected!';
{$I codeCoffer_end.inc} //space for protection code and end position signature
end;
برای استفاده از اون فقط باید کدهای داده شده در FormCreate فرم اصلی نوشته بشه؟