1.2 Using the Install Program

You install the SDK by using Install, the SDK installation program. This program decompresses and copies the SDK software from the SDK disks to your hard disk; all files on the SDK disks are in compressed format. Install also adds the group Software Development Kit 3.1 to your Program Manager window and adds information to the initialization files in your Windows directory. Optionally, Install copies the sample program sources, online information files, redistributable libraries, Windows for Pen Computing files, and the files for Windows Setup.

Install is an MS-DOS program that you must run from the MS-DOS command line. You cannot install the SDK while Windows is running, so make sure you exit Windows before running Install.

To install the SDK, follow these steps:

1.Insert Disk 1 or the CD-ROM disc into the appropriate drive.

2.At the MS-DOS prompt, change to the drive containing Disk 1. For example, type a: and press ENTER to change to drive A.

3.For 3.5-inch disks, type install and press ENTER. For CD-ROM, type cd \install, then type install and press ENTER.

4.Follow the online instructions to complete the installation. You should install the SDK in a new directory to avoid confusing new files with files from other development environments.

Install will ask whether you want the following optional components installed:

Redistributable libraries and files

Windows online information, Microsoft QuickHelp (QH.EXE) format

Windows online information, Microsoft Windows Help (WINHELP.EXE) format

Sample sources

Windows for Pen Computing files

Windows Setup files

To help you decide, Install displays information about the component and prompts for a Yes or No answer. If you direct Install not to install an optional component, you can always install that component later by reinstalling the SDK.

If you have MicrosoftÒ C Optimizing Compiler version 6.0, you must install special C run-time libraries and header files from a separate C installation disk that is included in the SDK. The C libraries contain run-time functions specially modified for use with Windows. The C run-time header files are Windows-compatible versions of the standard C header files. These Windows header files are identical to the standard C header files but contain ifdef directives that hide function prototypes for functions that are not compatible with Windows.

If you have MicrosoftÒ QuickCÒ for WindowsÔ, version 7.0 of the Microsoft C Optimizing Compiler, or another compiler that is compatible with Windows, you have these C libraries and header files already and need not install new ones.

You use the INSTALL.BAT batch file to install the libraries and header files.
Insert the C run-time libraries disk in drive A or B and type a command of the
following form:

install [drive:\path\lib-directory] [drive:\path\include-directory]