Lotus Domino/Notes toolkits Summary (iii) c ++ API

Source: Internet
Author: User
3 Lotus C ++ API

3.1 Introduction

C ++ API is another toolkit based on c api. The two are similar:

  • You can manipulate the vast majority of Data Objects in Domino/Notes:

    • Database: Create, copy, copy, delete, and modify an ACL
    • Document: Create, copy, and delete
    • Domain: creates, modifies, copies, and deletes the domain. It has powerful processing functions for the RTF domain.
    • View and folder usage
    • You can create validators and use validators to register users and servers.
  • Can be used to create additional Domino service tasks

Main restrictions:
Similar to the main limits of c api:

  • You cannot modify the existing Domino/Notes software.
  • You cannot directly modify the database copy history and user activity records.
  • You cannot modify the desktop information of the Notes client, for example, adding or deleting a database icon or modifying a title on the workbench.

Supported operating systems and compilers

Platform Editor Remarks
MS Windows NT/2000 Ms visual c ++ 6.0
IBM visualage C ++ 3.5
V2.3 does not support borglad C ++ editors, but V2.1 does.
Solaris Sun WS  
Linux G ++  
AIX IBM portapak  
AS/400    

Latest Version
V2.3, released on 2003.03.10
3.2 Development and Use

The development and use of C ++ APIs are similar to those of C APIs. It also requires the support of the Notes/Domino Software and the security mechanism of Domino/Notes.

Object Structure

In addition, the API provides a large number of common functions to process these objects and has some built-in data types, such as lnstring, lntext, lnnumber, lndatetime, lnbool, lnchar, and lnint.

Program StructureBefore using the C ++ API, you also need to initialize and clean the Domino/Notes runtime environment, as shown in:

Development Environment
Take MS Visual C ++ 6.0 as an example.
Note that some header files in the C ++ API use the same name as those in the VC. For example:
MQ. H, neterr. H, and stats. h
Use the header file of the C ++ API. Therefore, you can also specify the absolute path of the header file in the program, for example:
# Include "C:/notescpp/include/MQ. H"
Or in the VC environment configuration, the include directory of the Notes API is listed in front of the include directory of the VC.
In short, C ++ APIs use object-oriented technology. When processing notes data objects, the program logic is clear and easy to read and maintain, high-performance applications can be developed with high efficiency. At the same time, you can also call c api in C ++ API to achieve better results.

Lotus Domino/Notes toolkits Overview (1)
Overview of Lotus Domino/Notes toolkits (2) c API
Lotus Domino/Notes toolkits Summary (iii) c ++ API
Lotus Domino/Notes toolkits Overview (4) Java
Lotus Domino/Notes toolkits Summary (5) lddj
Lotus Domino/Notes toolkits Summary (6) Others
Lotus Domino/Notes toolkits Summary (7) Analysis and Comparison
Overview of Lotus Domino/Notes toolkits (8) Analysis and Comparison
Lotus Domino/Notes toolkits Summary (9)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.