[Prev] [Top] [Contents] (22 out of 22)

The Client Source Files

The client/src directory of the Sapphire/Web distribution contains two source files. These are part of the Sapphire/Web client library. These can be used as examples of functions that you may wish to write. You should not add or remove functionality to/from these files. Instead see the section above on the correct way to do that. If however, you wish to modify the behavior because Sapphire/Web has not given you what you want, then you must should do the following. First make a project. Copy in the files and add them as application botches. Make your changes. Use the Sapphire/Web-generated makefile to make your changes. Do not use C++. With the new objects modify the appropriate libraries, for example:

ar ruv libwebdb.a SaHtmlC.o SaHtmlTb.o
You may also need to run:

ar ts libwebdb.a
and also, for SUN/OS only, run:

ranlib libwebdb.a
Similar commands are needed for the client direct libraries if you use that functionality. These libraries are:

For SYBASE:

libwebdbSY.a
For ORACLE:

libwebdbOR.a
For INFORMIX:

libwebdbIF.a
Also note that future versions of these source files will not reflect your modifications. And remember to always backup the old versions just in case.


[Prev] [Top] [Contents] (22 out of 22)