RexxUtil Replacement for eCS

General

This is a replacement rexxutil.dll made from toolkit examples, Open OREXX source, and by me recreating source. Part of SysStemSort from regutil 1.26 by Patrick TJ McPhee – see license in sysstem.c. This page is open for comments without registering.

As of 6 Mar 2008 it works with the included demo program, cfgtool, archive viewer, and ecsmt; however, more testing should be done. I have a lot of sysstemsort fixed and I am sure sysini is working but not how well it is working.

The dll and source are located on hobbes (here).

Building
This is easy, if you have Open Watcom set up then just change directory to the root directory of the archive and execute wmake. Additionally, I decided to use the free subversion service provided by assembla. The wikki is here and the svn area is located here:

TRAC: http://trac2.assembla.com/rexxutil

SVN: http://svn2.assembla.com/svn/rexxutil

Extra Functions
I added the following functions:

Contains the math functions from the orexx rexxutil.dll:

SysECSVer
Returns the eCS version from the SYSLEVEL.ECS file. SysVersion(‘ECS’) falls through to SysECSVer and if SYSLEVEL.ECS is not found it falls through to SysOS2Ver.

SysReplaceObject
Based on WinReplaceObjectClass as suggested by Rick Walsh.
Syntax: call SysReplaceObject orgClass , newClass, flag
Params:
orgClass – class being replaced
newClass – new class name
flag –
TRUE – Replace the function of orgObject with function of newObject
FALSE – Undo the replacement of orgObject with newObject
Return: 0 if fail, 1 if succeed.

SysUtilVersion
Returns a version of 2.10 to tell difference from older library.