You can run the C and C++ sample applications interactively in either simple or advanced mode, or noninteractively using auto-generated or custom response files.
Before running any of the supplied sample applications, you must first set up the messaging server environment so that the applications can connect to a server as described in Setting up the messaging server environment.
For C or C++ sample applications, you must have set up one of the following environment variables:
The following steps summarize what you need to do to run the C and C++ sample applications.
When you run the sample applications, response files are generated automatically in the current working directory. Response file names are in the format <connectiontype>-<sampletype>.rsp; (for example, wpm-producer.rsp). If required, you can use a generated response file to rerun the sample application with the same options, without re-entering these options manually.