ILE C/C++ Programmer's Guide


Binding a Program to a Non-Existent Service Program

To successfully create a program or a service program, all required modules must exist prior to invoking the binder.

However, if you want to bind a program to a non-existent service program, you can create a "placeholder" service program first. Consider the following example:

A program MYPROG requires a function print() to be exported by a service program PRINT. The code for the program is available in myprog.cpp. However, the source for the service program does not yet exist.

To work around this problem, follow the instructions in this sections, using the source code shown in the sample code figures.


[ Top of Page | Previous Page | Next Page | Table of Contents ]