*********************************************************
*     TWavePlayer Component for Delphi 2     		*
*********************************************************

This component is a quick and easy wav format sound player.

Files included in WavePlay.zip
------------------------------

WavePlayer.dcu	32 bit Delphi Compiled Unit containing TWavePlayer
WavePlayer.dcr	Resource file for WavePlayer.dcu
ReadMe.txt	This file


Installing TWavePlayer in Delphi 2
----------------------------------

1.  Copy the files WavePlayer.dcu and WavePlayer.dcr to your Delphi 2
    library directory.  Usually the path is 
    c:\Program Files\Borland\Delphi 2.0\lib, but it 
    may be different on your system.  If you maintain your third
    party components in a different directory, place these files in
    that directory, but make sure the "Search Path" includes the
    correct directory.

2.  Start Delphi 2.

3.  Choose Component|Install... from the Delphi menu.

4.  In the "Install Components" dialog box, click on Add..., then
    click Browse to search for the correct file.  Choose the 
    directory where you had previously copied the necessary files.
    Then, change the file type to "Unit Files (*.dcu)".

5.  Select WavePlayer.dcu, then click OK.

6.  Delphi will rebuild your library including the WavePlayer
    component on the "System" palette.


Using the TWavePlayer Component
-----------------------------

The TWavePlayer component is relatively simple.  It has only 4 properties
and 2 methods.  The properties are:

Filename   Name of wav file or system file to play
Name	   Used for referencing the component
PlayMode   ASync=System receives immediate control after wav file begins playing
	   Sync=System waits until playing is finished.
	   Loop=Plays Wave file repeted until Stop is called	
Tag	   User defined integer with no special meaning to the compiler

The methods are:

Play	   Loads and begins playing the wav or system sound file
	   specified in the filename property
Stop	   Stops all current wav or system sounds

The following code demonstrates how to use the TWavePlayer component:

procedure TForm1.PlayWave;
begin
   WavePlayer1.filename := 'c:\windows\chimes.wav';
   WavePlayer1.PlayMode := ASync;
   WavePlayer1.Play;
   WavePlayer1.filename := 'SystemStart';
   WavePlayer1.Play;
end;


Registering your use of TWavePlayer
---------------------------------

For private programmers:
You can use all files as freeware. Feel free to copy,
distribute and use this in any way.
If you would like to recive the source code, the price is only $10.
When you register, I will send you the code via e-mail attachment.

For commercial programmers:
I would appreciate if you will send me $20 for this component,
this include the source code.
When you register, I will send you the code via e-mail attachment.

If you redistribute this archive, please do not
modify files in it!

********************************************
*** Registration by Check or Money Order ***
********************************************

If you wish to register using a check or money order, mail your 
payment along with your name, address, city, state, zip, and 
e-mail address to:

Anders Jeppsson
Eldtorns grand 4
230 40 Bara
Sweden

Make checks payable to:  Anders Jeppsson


Thank You


                       W A R R A N T Y    D I S C L A I M E R
                      ----------------------------------------


           ****************************************************************
           *                                                              *
           * This software package is provided AS IS.                     *
           *                                                              *
           * ANDERS JEPPSSON MAKES NO WARRANTY OF ANY KIND, EXPRESSED     *
           * OR IMPLIED, INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF  *
           * MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR PURPOSE.     *
           *                                                              *
           ****************************************************************
