This sample app/template/Sorce is based entirely on Microsoft 
Knowledge Base Article Q174371. It is enclosed. Read it and use at your
own risk.  The results only have meaning if the OS is Win95 and the
server is NT.  Be sure to search the support database at www.microsoft.com/support
for updates.

All the code does is read the version resource out of the redirector 
and determine if the OS is Win95 or not.  Based on command line parameters it
can be run without displaying anything.  It also writes results to an
ini file in the current directory. 


redirlib.clw - Install to 2.003 and/or C4 libsrc dir
Redirver.app - 2.003 sample app 
redirver.exe - 2.003 sample exe
version.lib  - Install to 2.003 and/or C4 Lib dir
Redirver.tpl - Install to 2.003 and/or C4 Template directory *
redirve4.app - C4 sample app 
redirve4.exe - C4 sample exe 

* - For use with 2.003, comment out the ,family(),family on the first
line of the template Redirver.tpl.

Once the templates, lib, and clw's are installed to the correct dir,
then register the templates in the usual way.  With that done the
the sample apps can be compiled 16 or 32 bit.
The C4 template can use either ABC or Clarion chains as long as the
family attribute is on the 1st line.


The .clw file is a good example of a separately compile member()
module.  It can be used in any app without modifying.
The templates add the prototype and, in 32 bit, the required lib.

Jim Kane
Team TopSpeed
jkane@compuserve.com