My.ADVISOR.com Sign-In
ID
Password

Member Center / Sign-Up
   
SUBSCRIPTION STATUS
If you are a subscriber to this publication, sign-in to access locked articles. To subscribe or renew go to www.AdvisorStore.com.
Go to Article
Advanced Search 

TECH NEWS

Keep Track of Lotus Notes C++ API Error Codes

One problem with using the Notes C++ API is error codes can change from one release of the C++ API Toolkit to another. This tool helps you figure out which error code or symbol goes with which error message.


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:

  1. Download the file and unzip the contents.
  2. On Windows platforms, run your favorite make utility using the provided makefile.
  3. 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.


Printer-friendly
page layout

Keep Track of Lotus Notes C++ API Error Codes

No reader comments ... yet.

    What do YOU think about this topic? Share your advice and thoughts using this form.

    Your Name

    REQUIRED : PUBLIC

    Your E-Mail

    REQUIRED : PRIVATE

    Job, Company

    OPTIONAL : PUBLIC

    City, State, Country

    OPTIONAL : PUBLIC

    Your Web Site

    OPTIONAL : PUBLIC

    Your Comment

    Please help everyone by keeping your comments on-topic, using clean language, and not defaming or making personal attacks.


    Your e-mail address is required, but it will not be displayed to the public or given to anyone. See our Privacy Policy. Comments become visible after they pass our spam filter, and spammers and abusers are permanently blocked. Please report spam or abuse.

    ARTICLE INFO

    Web Edition: 2003.06.29, Doc #12578

    FREE ACCESS FREE ACCESS

    Keyword Tags: Administration, Application Development, Development, Error Handling, IBM, IBM Lotus, IBM Lotus C++ API Toolkit, IBM Lotus Notes, IBM Software, IBM WebSphere, Microsoft Windows, Programming, Software Development, Technology Management

    Use of this or any other site, content, product or service of Advisor Media constitutes acceptance of Terms of Use.
    Portions copyright ©1983-2010 Advisor Media, LLC. All Rights Reserved.
    Reuse or reproduction of any portion or quantity of Advisor Media's copyrighted content, in any form, for any purpose, requires written permission.
    ADVISOR®, the ADVISOR logo, and other names and logos that incorporate ADVISOR are registered trademarks, trademarks or service marks of Advisor Media, LLC in the United States and/or other countries.
    Other trademarks are used for identification, editorial or descriptive purposes and are the property of their owners.
    Hosted by Prominic.NET Website powered by
    LOTUS SOFTWARE
    oa SMITU182 posted 2003-6-29 mod 02/07/2010 03:41:41 AM ztdbms/ztdbms
    domino-144.advisor.com my.advisor.com 02/08/2010 02:11:36 PM