How to process the string which is > 64K (Toolkit C++ 3.0)

How to process the string which is > 64K?

For Example:

LNLotusScript::GetSource() returns LNString string contains source code.

Now Notes can accept the code size > 64K in Domino Designer environment, but how can I got the source string in the C++ program using toolkit?

Thanks for your help.

Subject: How to process the string which is > 64K (Toolkit C++ 3.0)

excellent question. LNStrings are limited to 64k.

what happens if you call ::GetSource for an agent that’s source is >64k? i was always wondering how this limit is built in, thought you’d rather get errors if you try to save documents or calling LNNote::CreateItem…

to work around that you could use c-api. it’s far more complicated, but if you’re lucky maybe one of the samples does exactly what you’re trying to do.

Markus Seitz

markus.seitz@icodex.com

Subject: RE: How to process the string which is > 64K (Toolkit C++ 3.0)

Thank you for your help.I will try to use C API to solve the problem.

Our company now is in merger status.

My requirement is write a program to scan all ACLs, Designs, Documents in all Notes Databases to find and replace the Group/Person Name…