==========
UArith.dll
==========

A simple C DLL to be called from VB6 programs to do unsigned add and
subtract on Integer and Long values.

This was written for and compilied with the cl.exe compiler that came
with older versions of the Windows SDK.  This compiler is no longer
included in new SDKs, so you may have to use something from Visual
Studio instead now.

As of Windows 8 (quoting):

    The following items were either changed or removed from this
    version of the Windows SDK.

    1. Command-line Build Environment. The Windows SDK no longer
       ships with a complete command-line build environment. The
       Windows SDK now requires a compiler and build environment
       to be installed separately.

-----
Usage
-----

Add the UArith.bas module to your project.

Put UArith.dll on the DLLSearch path so your program can find it.
Typically this would be next to your calling VB6 EXE, DLL, or OCX.

A precompiled copy of UArith.dll is in the Bin folder.

-------------
Test Projects
-------------

Two VB6 test projects are included.

Project1 runs and displays some tests of all four functions.  This
has a Form and displays results in a TextBox.

Project2 runs time tests, looping over each of the two Long
functions many times.  It ends displaying a MsgBox with results.

To run these copy the precompiled UArith.dll from the Bin folder
into the VB6 folder.  Then compile the Projects and run their EXEs.

------------------
Recompiling UArith
------------------

See Compile.cmd, which will probably require changes or replacement
on your system.

-------
Remarks
-------

This DLL was compiled and linked to the static CRT to avoid a
dependency on any CRT DLL.  This is why the file is so large in
spite of doing very little.
