LotusScript to C API Programming Guide

rtLib Domino Rich Text Management template
Home
Show details for ContentContent
Purchase
Ready-to-use samples
Show details for Online resourcesOnline resources
Forum
Links
Happy readers

Anonymous

login

Technotes & goodies

Installation of Ls2capi wrappers for iSeries
Ls2Capi on iSeries
R5 Database Manager

 

Hosted by Prominic.NET, Inc.

Installation of Ls2capi wrappers for iSeries


Unzip and restore libdomw.srvpgm from libdom.savf to QNOTES.

libdomw.savf contains libdomw.srvpgm that provides wrappers for LotusScript calls to Notes C API. The authenticated users can download it at the bottom of this page.

How to install: create an empty SAVF file on the AS/400, upload .savf file using the ftp commands below and restore srvpgm.

1. Create savf file:

CRTSAVF qnotes/libdomw

2. Open "MS-DOS Prompt" window and type:
> ftp <AS/400 host>
<AS/400 user name>
<AS/400 password>
ftp> cd qnotes
ftp> bin
ftp> put libdomw.savf
ftp> bye

3. Return to AS/400 system and restore the SRVPGM by executing command:

RSTOBJ OBJ(LIBDOMW) SAVLIB(QNOTES) DEV(*SAVF) SAVF(QNOTES/LIBDOMW)

4. Change owner to QNOTES

CHGOWN OBJ('qsys.lib/qnotes.lib/libdomw.srvpgm') NEWOWN(QNOTES)

All function names in wrapper are prefixed with "w". Some new functions that allow to handle pointers are also included, see section iSeries specifics in the chapter Implementation, limitations and special considerations. Reference material coming later on this site.

Sample declaration in LotusScript:

Const LIB_OS400 = {/qsys.lib/qnotes.lib/libdomw.srvpgm}

Declare Function OS400_NSFDBClose Lib LIB_OS400 Alias {wNSFDBClose} (byVal hDB as Long) as Integer



User: Password:

This website contains material that complements "LotusScript to Lotus C API Programming Guide". Some parts of it including posting of comments and discussion items are available only to authenticated readers of the book. Enter your username and password to authenticate.

You should have cookies and JavaScript enabled for the authentication to work..

You should have received your username and password by email to the address you provided during the purchase of the book. In case you failed to receive it or you have any problems loging in let me know about it.