DBSHARELOCK Ver 1.0
_______________

This is a component to allow you to lock either an application OR a component as Shareware.


Usage :
________
Usage differs depending on whether you wish to lock an application or a component:

1) Locking an Application
	Place a Sharelock component on your main form of the application (Place ONLY ONE component per application)
	Generate a GUID (Shift +Ctrl+G in Delphi) and paste this value, without the quotes or square brackets, into 		the GUID property
	Enter a Hash value of your choice greater than 1000
	DO NOT Set LOCKED to true just yet!
	Set the other properties as required 
		MakeTamperProof 	: The application will be locked PERMANENTLY if the user changes the date 					  backwards.
		MaxLicenseLength	: Maximum length of the name of the licensee.
		RegistrationCodeSize	: Choose how long the code you wish to generate will be.
		Timelock		: Set this to true if this is to be locked by a number of days
		TrialDays		: Set the number of days to allow for evaluation

	Now Set the events:
		OnClockChange 		: Determine what should happen if the clock gets changed : Eg popup a 							  message and a	means to register the application
		OnExpire		: Determine what should happen Whern the trial period has expired. : Eg 						  popup a message and a	means to register the application.
		OnReminderscreen	: Place your nage screen here to remind them to register the product.


	Properties available to you :
		DaysLeft 		: Indicates the number of days left before it expires.
		Expired			: Boolean Property to indicate that it has expired.
		Registration 		: Indicates if it has been registered.

	***********************************IMPORTANT***********************************************
	After you have registered the component you need to include your registration details in the following 			properties EVERYTIME you use the component in an application
		License : This is your License Name
		Company	: This is your COmpany Name
		RegCode : Thsi is the code we provide to you upon Registration
	Without doing this step, the Sharelocking component will NOT be registered in the application and thus will 		also be unregistered for a user of your application, triggering Reminder and expre events etc.
	***********************************IMPORTANT***********************************************

	To register a program, include the following line;
	 DBSharewareLock1.RegisterProgram(Licensename, Company,Regcode); (See the example program)
	

2) Locking a Component
	In order to lock a component, it is really the same procedure as above, but all you have to do is call the 		following CLASS function with the appropriate parameters. it is no necessary to create an instance of 			Sharelock. 	
	The class function handles it all for you.
	You do need to set up the events which will be fired , and this you need to do in code.
	See the example component for more details.

      	Function LockComponent(Componentclass: TClass;HashValue, MaxChars, MinChars : integer;
                                        GUID : String; Timebomb , checktamper : boolean;
                                        Days, RegCodeSize : integer;
                                        ClockChangeProc, ExpireProc, NagScreenProc : tnotifyevent;
                                        AlternateEditor : TRegisterFormClass) :TDBRegLock;
	Alternate editor is an editor which you provide which replaces the default registration form. 




	


Registration
____________
This program is TRIALware. In order to utilize it in your programs, you need to register it. 
Registration costs US$80 and will give you the rights to any modifications or updgrades for one version cycle.

In order to register Go to www.Shareit.Com and quote Program number 156289. You will then be guided through the registration process.


Thank you for your support.


  Copyright:
  ==========
  The DBSharlock Component(software) and everything that comes with it is 
  Copyright (C) 1997-2002, SETI Software Pty ltd. All rights reserved.

  Liability disclaimer:
  =====================
  THIS SOFTWARE IS DISTRIBUTED "AS IS" AND WITHOUT WARRANTIES AS TO 
  PERFORMANCE  OF MERCHANTABILITY OR ANY OTHER WARRANTIES WHETHER EXPRESSED 
  OR IMPLIED. YOU USE IT AT YOUR OWN RISK. THE AUTHOR WILL NOT BE LIABLE FOR 
  DATA LOSS, DAMAGES,  LOSS OF PROFITS OR ANY OTHER KIND OF LOSS WHILE USING 
  OR MISUSING THIS SOFTWARE.

  
  Restrictions:
  =============
  You may not attempt to reverse compile, modify, translate or disassemble 
  the software in whole or in part. You may not remove or modify any copyright 
  notice or the method by which it may be invoked.

