home *** CD-ROM | disk | FTP | other *** search
- LEADTOOLS 4.0 for DOS
- README File ver. 4.0a
-
- by LEAD Technologies, Inc.
-
- Last Update: 9/16/94
-
- ===========================================================================
- INSTALLING LEADTOOLS 4.0 for DOS:
-
- 1. Insert the LEADTOOLS disk into your floppy drive.
- 2. Type '(DRIVE):\INSTALL', without the quotes, where (DRIVE) is the letter
- of the floppy drive.
- 3. Follow the directions during installation.
-
- ===========================================================================
- Clarifications/Notices:
- Date: 9/20/94
-
- 1. A TARGAP example has NOT been included in the examples subdirectory.
- Code using TARGA+ cards can be found in DEMO.C in the main installation
- directory.
-
- 2. Due to BORLAND memory allocation methods, the function L_DecompressBuffer
- has been disabled in the BORLAND library. You can achieve similar
- results as L_DecompressBuffer by using L_RedirectIO. See the REDIRECT
- example provided with this toolkit.
-
- 3. The supplied DEMO.EXE was created using an overlay manager. It should
- require less memory than a conventional executable. The supplied demo
- .MAK files will only generate a non-overlaid executable. If your
- application needs more memory, create an overlaid executable. LEADTOOLS
- is compiled to support overlaid executables.
- ===========================================================================
- FILES:
- Date: 9/11/94
-
- Library Files
- (Names and descriptions of libraries included for various compilers)
- All LEAD toolkit libraries to be used with your applications can be found
- in the LIB subdirectory of the main installation directory. All libraries
- are large memory model.
-
- (Professional Toolkit)
- 1. BCLSTP.LIB is the name of the BORLAND library. It was created with the
- Borland 3.1 command-line compiler and the MicroSoft MASM 6.0 Assembler.
-
- 2. MSCLSTP.LIB is the name of the MicroSoft library. It was created with
- the MicroSoft 8.0 command-line compiler and the MicroSoft MASM 6.0
- Assembler.
-
- (Express Toolkit - not yet released)
- 3. WCLSTP.LIB is the name of the WATCOM library. It was created with
- the WATCOM 10.0 command-line compiler and the MicroSoft MASM 6.0
- Assembler.
-
- Header Files
- (Names and descriptions of header files included with the toolkit)
- Two .H files are installed in the INCLUDE subdirectory of the main
- installation directory. They are as follows:
- 1. L_BITMAP.H. This file contains all of the LEAD Technologies defined
- structures, all function prototypes, and most #define constants used
- by LEADTOOLS. This file MUST be included into any application
- you are creating using LEADTOOLS functions and structures.
-
- 2. L_ERROR.H. This file contains additional #define constants used
- by LEADTOOLS as return values. It will help you debug your code by
- giving more descriptive information about the return codes. It only
- needs to be included in your application if you want to test return
- values from LEADTOOLS functions using the 'ERROR_...' #defines.
-
- Demo Files
- (Names and descriptions of DEMO related files included with the toolkit)
- Several files make up the demo program provided with the LEAD Toolkit.
-
- 1. DEMO.C, located in the main installation directory, is the source code
- for the demo program.
-
- 2. DEMO.H, located in the main installation directory, is the header file
- with most prototypes, structures, variables, etc. used by the demo
- program.
-
- 3. L_BITMAP.H, located in the INCLUDE subdirectory of the main
- installation directory, contains LEADTOOLS specific declarations.
-
- 4. L_ERROR.H, located in the INCLUDE subdirectory of the main
- installation directory, contains LEADTOOLS specific #defines.
-
- 5. BCDEMO.MAK, located in the main installation directory, is a make
- file to be used with the Borland COMMAND-LINE compiler. All paths
- are set to the default installation directories in this file to compile
- the provided demo program, DEMO.C (with the header file DEMO.H), and to
- link the created BCDEMO.OBJ with the Borland library to generate an
- executable BCDEMO.EXE. If you move any of the above mentioned files,
- this .MAK file will not likely work. Make note of the -DEFINES used!
- (Type: 'Make BCDEMO.MAK' from the main installation directory)
-
- For the BORLAND 3.1 IDE, do the following:
- A. Create a project IN THE MAIN INSTALLATION DIRECTORY.
- B. Add the following files to the project:
- DEMO.C - from the main installation directory.
- BCLSTP.LIB - from the LIB subdirectory of the main installation
- directory.
- C. Click on 'OPTIONS', 'APPLICATION...', and select either
- DOS option. Click on 'OK'.
- D. Click on 'OPTIONS', 'COMPILER', 'CODE GENERATION'. Select 'LARGE
- MODEL', and type in the defines editing block,
-
- 'FOR_DOS;TP;FOR_BORLANDC;'
-
- WITHOUT THE QUOTES. Click on 'OK'. (LEADTOOLS will now work with
- both WORD alignment and BYTE alignment.)
- E. Click on 'OPTIONS', 'COMPILER', 'ENTRY/EXIT CODE', select either
- DOS option, and 'C CALLING CONVENTION'. Click on 'OK'.
- F. Click on 'COMPILE', 'BUILD ALL'.
- G. The executable will be generated in the main installation directory.
- H. Exit to DOS and run the executable.
-
- ( If your compilation has difficulty finding files, make sure
- the Borland INCLUDE and LIBRARY paths are set correctly. )
-
-
- For the BORLAND 4.0 IDE, do the following:
- A. Create a project IN THE MAIN INSTALLATION DIRECTORY.
- B. During the create project, click on 'ADVANCED OPTIONS'.
- C. Select '.c node', then click on 'OK'.
- D. Click on 'PLATFORM', and select 'DOS STANDARD'.
- E. Ensure that MODEL LARGE is selected, then click on 'OK'.
- F. Add the following files to the main root of the project:
- DEMO.C - from the main installation directory.
- BCLSTP.LIB - from the LIB subdirectory of the main installation
- directory.
- G. Click on 'OPTIONS', 'PROJECT', 'COMPILER', 'DEFINES'.
- H. Type, in the defines editing block,
-
- 'FOR_DOS;TP;FOR_BORLANDC;'
-
- WITHOUT THE QUOTES.
- I. Click on 'PROJECT', 'BUILD ALL'.
- J. The executable will be generated in the main installation directory.
- K. Exit to DOS and run the executable.
-
- ( If your compilation has difficulty finding files, make sure
- the BORLAND include and library paths are set correctly. )
-
- 6. MSDEMO.MAK, located in the main installation directory, is a make
- file to be used with the MicroSoft COMMAND-LINE compiler. All paths
- are set to the default installation directories in this file to compile
- the provided demo program, DEMO.C (with the header file DEMO.H), and to
- link the created MSDEMO.OBJ with the MicroSoft library to generate an
- executable MSDEMO.EXE. If you move any of the above mentioned files,
- this .MAK file will not likely work. Make note of the /DEFINES used!
- (Type: 'Nmake MSDEMO.MAK' from the main installation directory)
-
- Example Files
- (Names and descriptions of example files included with the toolkit)
- Several files make up example programs provided with the LEAD Toolkit.
- There is an EXAMPLES subdirectory of the main installation directory.
- This directory contains specific example subdirectories and one .C file.
-
- 1. XMPLMAIN.C, located in the EXAMPLES subdirectory of the main
- installation directory, is the main source file used by all of
- the examples. It contains code that 'captures' the DOS text window,
- calls the example registration function, calls the example function,
- and 'restores' the DOS text window. It should not be moved from this
- directory if you want to be able to generate the example executables
- without modifying any files.
-
- 2. EXAMPLE SUBDIRECTORIES
- Each subdirectory contains a .C file of the same name as the
- subdirectory, and two .MAK files. The .MAK files are named by using
- up to the first 6 letters of the subdirectory name and then 'MS' or
- 'BC', followed by the '.MAK'. The ??????MS.MAK file can be used with
- the MicroSoft command-line compiler to compile and link each example
- FROM THAT SUBDIRECTORY. The ??????BC.MAK file can be used with
- the BORLAND command-line compiler to compile and link each example
- FROM THAT SUBDIRECTORY. All paths (for .LIB's, XMPLMAIN.C, and .H's)
- are hard coded to the default installation directory in these .MAK
- files. If you move the libraries, XMPLMAIN.C, or .H files, the .MAK
- files will not run correctly unless you edit them.
- ===========================================================================
- Hardware:
- (New graphics cards directly supported, not in the manual)
- Date:
-
- 1. None.
- ===========================================================================
- Modified Structures:
- Date:
-
- 1. None.
- ===========================================================================
- Modified Functions:
- Date:
-
- 1. None.
- ===========================================================================
- New Structures:
- Date:
-
- 1. None.
- ===========================================================================
- New Functions:
- Date:
-
- 1. None.
- ===========================================================================