Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


(*Adding Expiration date to your Application*Delphi*)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
ZenX
Grandmaster Cheater Supreme
Reputation: 1

Joined: 26 May 2007
Posts: 1021
Location: ">>Pointer<<" : Address 00400560 Offset :1FE

PostPosted: Fri Jul 06, 2007 8:58 pm    Post subject: (*Adding Expiration date to your Application*Delphi*) Reply with quote

Code:

//Example Code

unit Unit1;

interface

uses
  Windows, SysUtils, Classes, Forms, Dialogs;

type
  TForm1 = class(TForm)
    procedure FormShow(Sender: TObject);

  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  Form1: TForm1;
 
implementation

{$R *.DFM}     
//CreateForm
procedure TForm1.FormShow(Sender: TObject);
var
//Expire info(Used)
  TheYear, TheMonth, TheDay : Integer;
begin
//The Info Goes Here
  TheYear  := 2001;
  TheMonth := 12;
  TheDay   := 1;
{ Take the desired action below if the current
  date is greater than the expiration date.
  In this example, we close the application;
  but you might also just disable buttons or
  or other elements of the application. }
  if (Date >= EncodeDate(TheYear, TheMonth, TheDay)) then
     begin
        ShowMessage('This application demo has expired.');
        Close;
     end;
end;

end.


_________________
CEF Moderator since 2007 ^_^
ZenX-Engine
Back to top
View user's profile Send private message Yahoo Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Fri Jul 06, 2007 9:12 pm    Post subject: Reply with quote

Is it cool now, taking the source from somewhere and then not giving the credits?
_________________
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Fri Jul 06, 2007 9:13 pm    Post subject: Reply with quote

zomgiownyou wrote:
Is it cool now, taking the source from somewhere and then not giving the credits?


Apparently.
Back to top
View user's profile Send private message
DeletedUser14087
I post too much
Reputation: 2

Joined: 21 Jun 2006
Posts: 3069

PostPosted: Sat Jul 07, 2007 2:26 pm    Post subject: Reply with quote

some source from here was taken from CE source,and you're not a godly programmer.
Back to top
View user's profile Send private message
hcavolsdsadgadsg
I'm a spammer
Reputation: 26

Joined: 11 Jun 2007
Posts: 5801

PostPosted: Sat Jul 07, 2007 5:23 pm    Post subject: Reply with quote

Kaspersky wrote:
some source from here was taken from CE source,and you're not a godly programmer.


Rolling Eyes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites