Link to home
Start Free TrialLog in
Avatar of jacbarker
jacbarker

asked on

Are there any events in the Lotus Notes "Lotus Domino Objects" API?

Are there any events that can be hooked into using the Lotus Notes API "Lotus Domino Objects" or "Lotus Notes Automation Classes".
I have added a reference to these 2 type libraries and wish to have events fire when an email is sent or a document opened. Is this possible?
Avatar of Bill-Hanson
Bill-Hanson
Flag of United States of America image

No.  In order to provide that type of hook, you will need to use the C or C++ API to write an add-in DLL. The DLL that you write will be referenced in the notes.ini file in the "EXTMGR_ADDINS" or "NSF_HOOKS" key.  For example, in my Palm Conduit application, I wrote a login manager hook that automatically logged-in the current user.

Each library contains several examples.  For my login manager, I started with the C API's EXTPWD example.
Yes, you mentioned "Lotus Domino Objects", which is a set of objects exposed by Lotus Notes through OLE.

LotusScript/COM/OLE Classes:
http://www-12.lotus.com/ldd/doc/domino_notes/6.5.1/help65_designer.nsf/b3266a3c17f9bb7085256b870069c0a9/eb86f9173dbd7bde85256e00004a4459?OpenDocument

Here is another link, this one opens the question in which you can find URL for Domino Designer Help, where all Domino classes and their data and function members are explained (also, you have example there of using Domino objects from C#):

https://www.experts-exchange.com/questions/24106489/Read-and-Parse-All-Emails-in-a-Lotus-Notes-Account.html


Hope this helps,
Mb¤
ASKER CERTIFIED SOLUTION
Avatar of Bill-Hanson
Bill-Hanson
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
No, you're right, you cannot create hooks, but why not tell him what are the libraries he talks about, and where he can find out more about what it can be done using them.

Maybe there's a another solution to his problem...
Avatar of jacbarker
jacbarker

ASKER

Thanks Bill, I got the documentation but now cannot open it. I've got another question here:
https://www.experts-exchange.com/questions/24168207/Cannot-open-Lotus-Notes-C-API-Documentation-within-Lotus-Notes-8-5.html
If you would like to take a look.
Thanks for your help.