MIR Client for End Users

Machine Independent Run (MIR) files run as stand alone applications without the TRIM library (gui.fnc, gui.h, trim.h, etc.). By eliminating the TRIM library, the number of files on the fat client is minimized and installation is simplified. In addition, MIR files exclude unnecessary code such as programmer's comments so they are actually smaller than the original source file. Finally, the use of MIR files guarantees that the end user will not change your code.

There are two steps to making MIR files. Open a Command Prompt Window, go to the directory containing the ASCII source applications and follow these steps:

  1. Compile the ASCII source applications to MIR files (*.gap or *.app) using the '-i' option:

    trimgen *.gap -u -s -o -i.

    This command will write ASCII files with the '.mir' suffix that contain all of the library functions required to run as stand alone applications. The '.mir' files can be moved to the following target computers and converted into binary run files: WinNT/Win95, VMS, Unix and MVS.. Note that 16-bit DOS/Windows machines are not supported.

  2. Convert the ASCII '.mir' applications into run files on the target computer:

    trimmir *.mir

    This command will write binary files with the '.run' suffix. They will only run on the OS under which they were made. For example, '.mir' files converted to run files on a 32 bit WinNT machine can be copied to other WinNT or Win95 machines. Note that the run files can easily be zipped with a few configuration, data, and help files to distribute a runtime version of the Chemical Information System:
    CIS Files Fat Client for End Users [1.25Mb]
    Directory
    Files
    c:\daspects\bin cexuser.dll, gcvt.exe, guimsg32.exe, guirun.exe, msvcrt.dll, scale.exe, vtx3.exe, vtx.dll, WRCIS icon
    c:\daspects\widgets dnarrow.gif, dnarrowb.gif, uparrow.gif, uparrowb.gif, leftarrow.gif, leftarrowb.gif, rtarrow.gif, rtarrowb.gif, pound.gif,doseresp.gif
    c:\daspects\cache empty
    c:\daspects\cis start.run
    biotable.txt, merckwr.txt, pdwr.txt, steckwr.txt, trsmalwr.txt, trsradwr.txt
    c:\daspects\lib gui.ini, gui.msg, wrcis.ini, wrcis.vgd

The readme.txt file provides instructions on creating the WRCIS Icon, modifying autoexec.bat and setting environmental variables.