Table of contents

 

What is AVLock Lite?

AVLock Lite is a Delphi component wich allow you to convert your application into a time limited trial in a very ease way. In adittion, with AVLock Lite you can:

To make a 30 days trial application you simply must locate an AVLock Lite control in your main form and to write the following line of code at the OnCreate event:

   if not AvLockpro1.execute then Application.Terminate;  

That's enough to convert the application in a 30 days trial version.

^

Properties

AllowBackDate : Type: boolean. When this value is True then the user is able to backward the system date to reuse an expired period.

AppCode : Type: dword. Numeric value to identify the application. For default his value is 123456789 but is strongly recommended to assign a different code for each application.

AppName : Type: string. Name assigned to your application. this appear in the title bar of the registration windows. For default this is leave blank.

Authorized : Type: boolean. If True, this mean that the application is temporarily registered.

BeginDate : Type: boolean.  The date from where start the authorized period.

Days : Type: word. The number of days of authorized use. 30 for default.

EndDate : Type: date. The date where finish the authorized period.

Expired : Type: boolean. If True, this mean that trial time was expired.

FirstTime : Type: boolean. If True, this mean that the application run first time in the computer.

InstalCode :Type: string;  Length: 8.  Hexadecimal Strig Value, not visible at design time. When your application run in the user PCs, AVLock Lite calculate a  hexadecimal number called INSTAL CODE, distinct one for each PC and calculated in basis of the Hard Disk serial number. This code must be send to you from the users so you can generate with KeyGen.exe the apropiate REGISTRATION CODE for each user. For more information see below the description for the keyGen.Exe utility.  

Logo : Type: bitmap. This property allow you to place your own logo into the registration form.

Prompts and Text properties : Type: string. This properties allow you customize and adapt the component to any language, these are: PromptHowTo, PromptSendTo, PromptWait, PromptToRegister, PromptEnterYour, PromptDaysToExpire, PromptAfterExpire, PromptBtnReg, PromptBtnCancel, PromptBtnContinue, PromptSuccessfull, PromptInvalidCode, TextWarning, TextCongratulation and TextExpired. 

Registered : Type: boolean. If True, this mean that the application is registered.

^

Methods

Execute : This method see in the registry data if this is the first time that application run in the computer, if so, initialize the registry data establishing the trial period according the days property. Then, if the application is inot registered yet, call the DoExecute method to show the registration form. 

Read : This method read the registration data from the Windows registry to the properties of the component.

Write : This method write the registration data from the properties of the component to the Windows registry.

Check : This method return true if the Registration code pased as parameter is ok.

Clear : This method clear all properties in the component.

Erase : This method erase the registration data in the Windows registry, therefore the application become trial. 

^

Utilities

Keygen.exe : This utility allow to generate the registration codes that your users need to register the application in his machine. Into these codes come all data needed to establish the appropriate values for the AVLock Lite component in the target application.

Kind of registration: You can to generate two kind of registration codes: 

1) Temporary: This mean that the appliccation is authorized in a limited period of time bounded between two dates who are stored in the BeginDate and EndDate properties. This allow you to rent your application, since through of registration codes you can habilitate new authorized periods as many times as you want.

2) Permanent : This mean that the application is definitively registered without time limit.

Instalcode: Enter here the install code received from you user.

AppCode: enter Here the appCode that you was chose for your application.

Generate button: press this button to generate the registration code with all data entered above.

registration Code: this is the registration code that you must send to your user.

Unregister.exe : this allow erase in the Windows registry the saved registration data, therefore,  the next time that your application execute this become trial. 

^

Demo

The Demo application show how to make an application trial with only one line of code.

^

How to install AVLock Lite

1. Unzip the component zip file into a folder.

2. From your Delphi IDE open the AVLockLD(x).dpk package.

3. If you get the message "This package appears to be in an older format. Wold you like to convert it to the new format?" then reply No.

4. Press the install button. Wait for the Delphi message "The following new commponent(s) have been registered:. . ."

4. Review your Library Path into the Tools|Environment Options|Library tab. Here you should have one entry (only one) pointing to te folder where you unziped the component. If you have not this entry then create it manually.

^

How to Purchase AVLock Lite.

Click here to purchase the commercial version of AVLock Lite at $19.95  (Limited time offer)

Click here to purchase the full pack with source code at $49.00

^

AVLock Lite Software License Agreement.

BEFORE PROCEEDING WITH THE INSTALLATION AND/OR USE OF THIS SOFTWARE, CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT AND LIMITED WARRANTY (The "Agreement").

BY INSTALLING OR USING THIS SOFTWARE YOU INDICATE YOUR ACCEPTANCE OF THIS AGREEMENT. IF YOU DO NOT ACCEPT OR AGREE WITH THESE TERMS, YOU MAY NOT INSTALL OR USE THIS SOFTWARE ! 

^

LICENSE

AVLock Lite Software, including documentation, source code, object code and/or additional materials (the "Software") is owned by Alcides Valega (the "Author"). This Agreement does not provide you with title or ownership of Product, but only a right of limited use as outlined in this license agreement. Software author hereby grant you a non-exclusive, royalty free license to use the Software. 

^

REDISTRIBUTION RIGHTS

You are granted a non-exclusive, royalty-free right to reproduce and redistribute executable files created using the Software (the "Executable Code") in conjunction with software products that you develop and/or market (the "Applications").

^

LIMITED WARRANTY

THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PRODUCT IS WITH YOU. SHOULD THE PRODUCT PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING OR ERROR CORRECTION.

THE AUTHOR OF AVLock Lite DO NOT WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR REQUIREMENTS OR THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR FREE.

----------------------------------------------------------------------------------------------------------------

If you have any questions regarding this agreement, or you have any comments, suggestions or bug-reports, please forward it to: avalega@bigfoot.com

Author : Alcides Valega

Address : Santa Cruz 1468, 3400-Corrientes, Argentina

E-mail : avalega@bigfoot.com

URL : http://avsoft.sitio.net

^