Shareable images can be created from the Vermont Views libraries.
In order to create a shareable image from a Vermont Views object library, perform the following steps:
| 1 | Make all intended modifications to the Vermont Views header files, such as adding empty slots to the event tables, changing logical attribute tables, etc. All executable images that are going to use the same shareable image must be compiled with the same version of the header files. Once a shareable image is created, no modifications to the Vermont Views header files are possible without rebuilding the shareable image. |
| 2 | Edit the provided module vv_glob.c and make sure that it contains #includes for all header files needed for all executable images intended to use the shareable images. The default configuration should be suitable for most applications. The #include for vv_main.h must be the last statement in this module. |
| 3 | Compile vv_glob.c. Do not forget to define the symbol NO_DEBUG_CODE if you intend to create a shareable image from the Vermont Views production library (libvvprd.olb). |
| 4 | If you are creating a shareable image from the Vermont Views development library, the following files must be in the current directory: |
If you are creating a shareable image from the Vermont Views production library, the following files must be in the current directory:
| 5 | Invoke the appropriate command procedure (either sharevvdev.com or sharevvprd.com). |
| 6 | Do one of the following: |
| 7 | Remove the statement:
#include <vv_main.h> from the main module of your program, recompile and relink with the appropriate shareable image. Repeat the above steps for each shareable image. |
Note: Because the Vermont Views shareable images do not make use of transfer vectors, all applications must be relinked every time the shareable image is rebuilt.