Changes for version 1.2 - 7/18/94
******************************************************************************
In version 1.1, if the current CDD session was exited from in an ungraceful man-
ner, the corresponding LOCKFILE.$$$ file would be left in the \CLARION3 sub-
directory.  If a reboot was required, a new CDD session could not be started 
until the LOCKFILE.$$$ file was deleted from the \CLARION3 subdirectory.  This
release of CDDBAT corrects that situation by using an environment variable,
CLALOADED.  Since environment variables are available to child processes, (i.e.
a DOS shell session from inside CDD), LOCKFILE.SAV and LOCKFILE.$$$ are no lon-
ger required.

The only caveat to be aware of is the amount of environment space available.  If
your machine was already pushing the limit on environment space, you may an "OUT
OF ENVIRONMENT SPACE" error when attempting to use this version of CDDBAT.  If
you receive this error, consult your DOS manual for the correct methods to in-
crease the amount of available environment space.

Note:  Thanks to John Leschak of the Columbia, S.C. Clarion User's Group for
making this suggestion.

Changes for version 1.1 - 7/11/94
******************************************************************************
Have you ever noticed how CDD leaves those annoying temporary swap files lying
around if you exit ungracefully?  You know, those CLAxxxx.$$$ files?  This ver-
sion of CDDBAT will correct that problem.  Also, I have included LOCKFILE.SAV
in this version.  One additional note of caution:  On occasion when departing
from CDD unceremoniously (i.e. a reboot), LOCKFILE.$$$ will not be deleted.
If this occurs, you will not be able to start CDD even though you are not
shelled out to DOS.  You will receive the error message indicating that you
are shelled out.  To correct this, simply delete LOCKFILE.$$$ in the direc-
tory containing CDD.BAT.  Restart CDD.BAT.  Everything should now be fine.

As before, if CDD is not installed in C:\CLARION3 you will need to modify the
batch file for your situation.
******************************************************************************

To everyone who has ever or will yet experience locking up their machine 
when trying to restart CDD after shelling out of an already active session, 
I have the solution.  After doing this very thing again on Monday, 
I set about to smarten up CDD.BAT.  Here is my revised version of CDD.BAT.  
(Note:  Don't forget to change the C:\CLARION3 path if yours is different!)  

Although LOCKFILE.SAV can have any text you want, here is what I used:

THIS IS THE LOCKFILE TO PREVENT MACHINE LOCKUP WHEN CDD ATTEMPTS TO LOAD 
WHILE ONE COPY IS ALREADY LOADED IN MEMORY.

I have tested this method in several different configs. with my machine
(a clone 486DX-33 with 4MB using DOS 6.2 and EMM386.EXE, etc.)
and it has worked correctly each time.

Hope this will prove of benefit to you.

Disclaimer:  The files in this ZIP package are being released to the public
domain for the good of the Clarion user community.  As such, neither Rick
Smith nor Computer Visions & Technologies, Inc. makes warranties expressed or
implied as to the suitability or use of this product.  You are solely re-
sponsible for its use.  You may use, copy, distribute, or modify this product 
freely.  (If you make a neat mod, how about sending me a copy via CIS e-mail?)

Rick Smith
73223,704
Computer Visions & Technologies, Inc.
(803) 754-4433
