If you find it difficult to keep track of the C++ API error codes from one release of the C++ API Toolkit to another, this tool from the IBM Lotus Sandbox can help by producing a list of C++ API error codes.
The Sandbox is IBM's forum where Lotus developers can share tools and utilities and download the "as is."
The C++ API Toolkit lets you control Domino components using Domino's C++ API. But as IBM Lotus explains, one problem with using the C++ API is that error codes can change from one release to another. When you're writing a program, error codes should be translated to text via LNGetErrorMessage(), but not all programs are written to do that. Sometimes you have to figure out which error code or symbol goes with which error message.
This tool is a simple program that prints a list of C++ API error codes, the symbol, and the corresponding error message. You can build and run the program on any supported C++ API platform. You have to recompile and rerun the program for each release of the C++ API Toolkit.
To use it, follow these steps:
- Download the file and unzip the contents.
- On Windows platforms, run your favorite make utility using the provided makefile.
- The program will print out a listing showing the hexadecimal error code, the symbol, and the text for the currently installed release of the C++ API Toolkit.
You can get the download at http://www-10.lotus.com/ldd/sandbox.nsf/ByDateNJ/6592c26dc2cb912085256d3d0046677d?OpenDocument.