Das Notes Forum

Domino 9 und frühere Versionen => ND6: Entwicklung => Thema gestartet von: Micknick79 am 08.03.04 - 17:34:19

Titel: (C-API) Dokument anhand von note-ID öffnen (Verknüpfung kopieren)
Beitrag von: Micknick79 am 08.03.04 - 17:34:19

Hi there!

I have a problem with programming lotus notes with c api! I want to code a program, that get the e-mail-address from then sender of the e-mail, via the universalid, I get from a link i produced before.

I click with the right mouse button on an e-mail and select „make a link“. After that, the text which is in the clipboard is following:
__________________________________
Marc Power- test mail
<NDL>
<REPLICA C1256E43:004DCC6A>
<VIEW OF6C2EF04E:2A82398B-ON802569AA:004E66E4>
<NOTE OF1A4296C5:3FA14252-ONC1256E43:004E2251>
<REM>Datenbank Marc Power, Ansicht 'Inbox', Dokument 'test mail'</REM>
</NDL>

In my opinion I have to do this with this part:
<NOTE OF1A4296C5:3FA14252-ONC1256E43:004E2251>

But I don’t know, how I can open a document with this id.
Has anybody got an idea?????
If it’s possible it would be great if you send a little bit of sourcecode....

Nice greetings

Micknick79

Titel: Re:(C-API) Dokument anhand von note-ID öffnen (Verknüpfung kopieren)
Beitrag von: eknori (retired) am 08.03.04 - 17:49:24
I'd suggest to use C++ api;

LNSTATUS GetDocument( const NOTEID idnote, LNDocument *doc )

is the easiest way do get a Notes Document ba NOTEID

Ulrich