Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 01 APR 2001 05:10:50PM Jonathan Bird wrote:

I need to access "Notes" address books from an Arev application. Has anyone done anything like it? Any ideas?


At 02 APR 2001 02:02AM [url=http://www.sprezzatura.com]The Sprezzatura Group[/url] wrote:

Plan A

One way to access this table would be from a VB executable which attaches the table data from the Form Load event, links to the table via OLE, reads the table, writes it to an ASCII file, then unloads itself prior to form load.

This executable would be called from AREV via a suspend.

Plan B

This is what we noticed after looking at the address book file for a few minutes, and rummaging through the dissonances of Eric Emu's Notes re Notes.

The data is towards the end of the *.NSF file

The data is stored in the *.NSF file in blocks which begin on a 16 byte (paragraph) offset. We'll call them dictionary blocks. These blocks usually begin with the paragraph \0200000000000000000000000000000000\

and are terminated by the first \FFFFFF00\ following. These contain pointers to dictionary information in binary.

Immediately after each dictionary comes a small header (16 bytes, including the string "Person") and then the ASCII data of your address book record itself.

Only potential problem is you'll have to traverse a couple of mB of data each time using OSBREAD, unless some pattern of pointers can be readily established. This may or may not matter, depending on your context.

The Sprezzatura Group

World Leaders in all things RevSoft

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/14dbbb94726bb36f85256a210074593f.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1