/*
 *
 *  COMLCP, version 1.0
 *    A COM interface for remote communication with a Lyris Server via
 *    the Lyris Command Protocol.
 *  	Written by Karim Abbadi
 *	Please refer to http://www.support.lyris.com for questions about this toolkit.
 * 
 *  Part of the following source code is written by
 *  Joshua D. Baer, Kipton Barros and SKYLIST.net <http://www.SKYLIST.net/>.
 *  
 *  This notice must accompany any reproduction or derivation of this source 
 *  code.  While the source code may be modified, this notice must not be
 *  modified in any way.
 *  
 *  Copyright 1999 Lyris Technologies Inc
 *
 */

The ASPLCP package enables you to use all the built-in methods of the
Lyris Command Protocol (which control every feature of Lyris) directly
from ASP. This package handles all the ASP interface details, as well 
as all the needed TCP/IP communications between ASP and your Lyris 
server.  With ASPLCP, you can seamlessly control every aspect of Lyris
from your ASP scripts, as if Lyris were itself written in your
ASP language of choice (i.e. VBScript, JavaScript, Perl).

The use of the COM component is directly analogous to the use of the
module lyrislib.pl in Perl.  For documentation of the LCP functions
provided, please see Lyris's reference page:
<http://www.lyris.com/guide/>

For documentation of the implementation of the ASPLCP, please
refer to the Documentation directory.

This distribution includes the following subdirectories:

  -- lcp: this is the Main directory; it contains the Lyris.dll file which
	is the implementation of the COM component and regsvr32.exe.  
	regsvr32.exe will be used to register the COM component in 
	your registry (see below for details on installation).
  -- Documentation: this directory contains information about the use of
	the COMLCP package.  Open the top level file "LCP.html"
	with your web browser to view.
  -- Demo: this directory contains an ASP demonstration. 
	Please refer to the relevant readmes.

INSTALLATION

For LCP to work with ASP, you must :

1.  Have Lyris ListManager running.

2.  Have Microsoft's Internet Information Server (IIS) installed and running.

3.  INSTALL Service Pack 5 or greater for NT4, or Windows 2000.

4.  INSTALL Internet Explorer version 5 or later with the Microsoft Java VM.  
If you do not do this, you will receive the following error:  
	"ActiveX component can't create object".

5.  Register the COM component.  Place the files "Lyris.dll" and "regsvr32.exe" 
(which can be found in lyris/scripts/lcp/asp/lcp) in your directory of choice.  
At the command prompt, switch to the directory containing the two files and 
type: "regsvr32 Lyris.dll".  The COM component must be registered in this manner 
in order to be used.

6.  Supply the correct path to your configuration file when initializing the 
Lyris.LCP object.  When using any of the ASP scripts provided in the Lyris 
ListManager Programmer's Guide, you should replace the path in the supplied 
with the path of your own lyris.plc configuration file :  
	'Modify the following path to match the location of your config file:
	MyLyrisServer.initialize("c:\Lyris\Apache\lib\lyris.plc")

7.  Place the ASP scripts (.asp) in a secure Internet Information Server Web 
Site directory.  In order to run the scripts, the Web Site directory 
properties should be set to "Exectute".  
	
If there are any questions or problems, please send email to support@lyris.com