Installation
The installation of UDFlib is done in two parts. The first part , which must
be complete now as you are viewing this file, copies 4 files:
udflib.dll
udflib.hlp
udflib.sql
udfrem.sql
to the directory where your InterBase server is installed (c:\ibserver\bin for
NT and c:\program files\borland\intrbase\bin for Win 95).
UDFlib.hlp is what you are looking at now. UDFlib.dll is the dll that contains
the functions that InterBase will call. NT needs to be able to find this dll
so make sure it is on your path. If you took the default install for InterBase
and for UDFlib you should not have to make any changes for NT to enable it to
find udflib.dll
While udflib.dll contains the new functions, InterBase needs to be told what
functions are available and how to call them. The way InterBase is told about
the new functions is by registering the new functions with each database that is
going to use them. This registration process is done by using an SQL script
"udflib.sql". The method is as follows:
Windows NT
1) On the NT Server choose file|run from the menu, type in command and press
return (this will take you to the command line).
2) On NT change to the /ibserver/bin directory (using the cd command) . In
windows 95 the directory is /program files/borland/intrbase/bin.
3) run "isql -u sysdba -pa masterkey "
4) connect to the database where you want to register the new functions by
typing in "connect c:\your\path\database.gdb;" and pressing return;
5) type in "in udflib.sql;" and press return.
6) type "show functions;" to see all of the new functions
7) type "exit;" and press return
Windows 95
1) on the Windows 95 server change to the /Program Files/Borland/intrbase/bin
directory .
2) run "isql -u sysdba -pa masterkey "
3) connect to the database where you want to register the new functions by
typing in "connect c:\your\path\database.gdb" and pressing return;
4) type in "in udflib.sql;" and press return.
5) type "show functions;" to see all of the new functions
6) type "exit;" and press return
You are now done. This process must be done to each database (.gdb file) that
you want to use the new functions in. If you are installing over a database
that previously was running UDFlib, then you will get errors but they are
harmless.
If you want to remove the UDFlib from a database use the above procedure but
run "in udfrem.sql" instead of "in udflib.sql".