Error accessing notes documents with C++ API 3

Dear Forum Members,

I’m in need of some help with the C++ API 3 for Domino and Notes.

Each time I try to access a notes document I get an access violation in different DLLs (like LCPPN30.DLL)

I’m doing something like this:

m_lnSession.Init();

m_lnSession.GetUserName();

m_lnSession.getLNMailDatabase (&m_lnDB);

m_lnDB.Open();

m_lnDB.GetTitle();

m_lnDB.GetDocuments(&m_lnMailFolder);

max=m_lnMailFolder.getListSize();

All goes right, but when I finally try to get the mail document …

lnMailMessage = lnMailFolder.getMail(i);

… I’ll get the access violation exception!

It’s the same thing with calendar entries:

I get the calendar database, check for entries, get the number of entries but when I try to read an entry I get the exception.

Does anyone know this failure and can help me with it.

I’m very thankful for your help.

Greetings from Germany,

MM

Subject: Error accessing notes documents with C++ API 3

… I get an access violation in different DLLs which other?

is the exception reproducable? or does it happen with certain docs only?

are you able to catch this exception or is it cought by notes? if it’s caught by notes you should get an nsd-report (which would be of help if exception occures e.g. in nnotes.dll).

Markus Seitz

markus.seitz@icodex.com