13.5 mainlib.ldp
-----------------
This file contains a large number of functions from the basic compiler
library in precompiled form. All functions were compiled in four different
optimization modes. There are also many functions in this file which used
to be in the compiler. The use of precompiled functions increases
compilation speed.
These functions were compiled only for 16-bit mode. If you use them in
32-bit programs, the compile will issue not issue any error report and will
include the function in your code, but when you try to run the program it
will crash.
This library is very easy to use. All you need is to place it in a
directory with the compiler. Then the compiler, when it find a function
call in your program which was not defined in the library files included in
the program or in the program itself, will look for this function in
mainlib.ldp. If it is found there, the code will be copied to your file,
otherwise it will notify you of an unknown function. Thus in order for the
function to be copied into your program from mainlib.ldp, you must not
include a library file including any other function of the same name.
The list of functions in this library can be obtained using the special
program cmmlib.exe. This program is found in the archive cmmlib.rar.
Extract cmmlib.exe and put it into the same directory as the compiler. Then
run the program with the switch /l to get a list of functions in this
library.