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


 

Hosted by Prominic.NET, Inc.
Main topic: NAMELocateNext... on iSeries

Re: NAMELocateNext... on iSeries (by Jochen Sack, 07/13/2005 04:47:48 AM)

Regarding NAMEGetTextItem -- you are right, one could pass a ref. to a String instead of passing a pointer. That would do the trick in some circumstances.

However, our current LS code uses NAMEGetTextItem in conjunction with NAMELocateNextMatch, as illustrated in the following incomplete example:

pMatch = NAMELocateNextMatch( pLookup, pName, pMatch )

res = NAMEGetTextItem( pMatch, 0, 0, strBuf, 256 )

That is, we obtain a pointer, pMatch, from NAMELocateNextMatch, which we subsequently pass to NAMEGetTextItem ("pointer by value", so to speak). That's why I was asking also for an x-wrapper of NAMEGetTextItem.

I guess we'll have to re-think the way how we do things in LS before I get back to you regarding your suggestions. Thanks a lot anyway for responding in so much detail. Sidenote: We don't have an iSeries machine, but some of our partners and customers do, so we might be able to do what you suggested.

- Jochen