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: How to update the $AssistAction item in a LotusScript agent?

How to update the $AssistAction item in a LotusScript agent? (by Normunds Kalnberzins, 12/19/2004 07:59:30 AM)

I do not think this header have ever been documented. In the sample "Delete Agent Data":

http://www.ls2capi.com/normunds/ls2capihome.nsf/77f71729e7aa0fba00256de30075960e/42c609152e4adfbe00256de4005843e0!OpenDocument

' in total 2xDWORD + 8xWORD + DWORD + 6xWORD + 2xDWORD

Type RunInfoHeader

   dwUnk1 As Long

   dwID As Long ' // usually 5??

   wUnk(7) As Integer

   dwMessageSize As Long

   wUnk2(5) As Integer

   dwLen3 As Long       '// length of UNID at end - this is the agentdata this agent is linked to

   dwUnk12 As Long

End Type

I use this header to get some info. But it's still undocumented. Somebody had simplay hacked a part of it.

Your best bet could be to preserve the header and write it back as is. Or try hack it -- figure out which bytes change -- probably it contains length of data, dunno.

I think somebody mentioned that Rod Whitely has a similar piece of code in Sandbox. I wonder how did he cope with this situation?