Lotus DominoNotes Toolkits Summary (3) C ++ API

zhaozj2021-02-08  263

3 Lotus C API

3.1 Introduction

The C API is another kit based on the C API, both of which are similar:

Most of the data objects in Domino / Notes can be manipulated:

Database: Create, Copy, Copy, Remove, Modify ACL Document: Create, Copy, Delete Domain: Create, Modify, Copy, Remove, Use Powerful Processing Function View and Folders for RTF Domains to create verifiers, and Use verifiers to register users and servers can be used to create additional Domino service tasks

Main limitations:

The main limitations of the C API are also very similar:

Cannot modify the existing Domino / Notes software cannot directly modify the database replication history, user activity record, etc. You cannot modify desktop information of the Notes client, such as adding the database icon on the workbench, modify the title

Supported operating system and compiler

Platform editor Remarks MS Windows NT / 2000ms Visual C 6.0IBM Visualage C 3.5V2.3 Does not support Borlad C editor, V2.1 support. Solaris Sparcsun WS Linuxg Aixibm Portapak AS / 400

The latest version

V2.3, published in 2003.03.10

3.2 Development and use

The development and use of C APIs and C APIs are also very similar, and also need notes for Notes / Domino software, using Domino / Notes security mechanism.

Object structure

In addition, the API provides a large number of common functions to handle these objects and have a number of built-in data types, such as lnstring, lntext, lnbool, lnchar, lnint, etc.

When the program structure uses a C API, the initialization and cleaning of the Domino / Notes running environment is also required before use, as shown below:

Development environment

Take MS Visual C 6.0 as an example.

It should be noted that some of the headers and VCs contained in the C API are the same name, for example:

Mq.h, neterr.h, and stats.h

Need to use the header files belled by the C API. Therefore, or specify the absolute path of the header file in the program, for example:

#include "c: /notescpp/include/mq.h"

Or in the environment configuration of the VC, the NOTES API's Include directory is listed in front of the INCLUD directory of the VC.

In summary, the C API uses object-oriented technologies. When dealing with Notes data objects, the logic of the program is clear, easy to read and maintain, and can develop high performance applications with a relatively high efficiency. At the same time, the C API can also be called in the C API, both in combination, can achieve a better effect.

Lotus Domino / Notes Toolkits Summary (1)

Lotus Domino / Notes Toolkits Review (2) C API

Lotus Domino / Notes Toolkits Summary (3) C API

Lotus Domino / Notes Toolkits Review (4) Java

Lotus Domino / Notes Toolkits Summary (5) LDDJ

Lotus Domino / Notes Toolkits Summary (6) Other

Lotus Domino / Notes Toolkits Review (7) Comparison

Lotus Domino / Notes Toolkits Summary (8) Analysis Compare with Lotus Domino / Notes Toolkits Review (Nine) Summary

转载请注明原文地址:https://www.9cbs.com/read-1235.html

New Post(0)