Note: This article for Windows NT only!
---------------------------------------

When using Windows NT, there are two basic scenarios to 
consider:

1. You know for certain that every user will be an "NT 
Adminstrator", that is, they will have Administrator-level privileges 
on the system. HW_32 can be compiled so that there are no special 
registry entries necessary for VICHW11.SYS to run. Scenario 2 
requires some special keys.

2. You aren't certain that every user will possess Administrator 
privilveges. In this scenario, you will need to run a program which 
will install several keys so that VICHW11.SYS will run.

If you are writing for scenario number one, you need to do the 
following:

Remove the comment delimiters from the following line in HW_32.PAS:

//{$define NT_ADMIN} // Uncomment this line...

or in tvichw32.cpp:

//#define NT_ADMIN    // Uncomment this line....

This compiles some extra code which allows the program to function in 
NT when and only when an NT Admin is logged onto the machine.
Otherwise, this will not work!

If you are compiling for scenario two (which is much more likely) you 
leave the line above commented out and compile normally.

However, you will then need to run the program REGINI.EXE from the 
MSDOS prompt as follows:

REGINI TVICHW32.INI

Also you can use tvichw32.inf file instead of regini.
Just right-click to this file and choose "install".

This program (regini or tvichw32.inf) places several keys in the registry 
which allow the driver to run normally.

NOTE 1. YOU MUST BE LOGGED ON AS AN ADMINSTRATOR TO INSTALL THE 
KEYS! OTHERWISE AN ERROR WILL BE RETURNED.

NOTE 2. Reboot your PC after installation!

The only benefit to scenario one is that no special keys are 
required. There is actually a small performance penalty using this 
scenario as compared to scenario 2, so you will probably want to just 
go ahead and compile it that way and either use the REGINI.EXE 
program or write one of your own to install the keys.

The program will run on Windows 95 regardless of how the component 
is compiled.