Is Interop.Domino dll thread safe ?
Posted
by anup-24
on Stack Overflow
See other posts from Stack Overflow
or by anup-24
Published on 2009-12-01T06:32:21Z
Indexed on
2010/03/13
9:55 UTC
Read the original article
Hit count: 717
Hi ,
I am using Interop.Domino dll version 1.2 in c# application, and using multithreading to access multiple NSF file at same time by creating new session for each thread created (Max 5 threads at a time).
For the large NSF files, I was getting the Notes error like memory segment overflow. To overcome this problem, i used Marshal.ReleaseComObject(object) to release the necessary Notesdocument, and NotesView object where ever possible.
Now, the issues is like, i am able to access 2 NSF files but the rest threads are going in dll exceptions as few Notes object are getting null.
Kindly provide me some help....
Thanks for help.
© Stack Overflow or respective owner