I’m developing an application that retrieves database content from a Domino server (V8.0.2).
All calls made to the Notes API are isolated into a child process. I have several child processes running at the same time. Therefore, each child process must initialize the Notes API. I make sure it’s not done at the same time with a global lock mechanism (I had problems with that previously, but it’s fixed now).
Once in a while, in one of my child processes, I get the error code 8960 upon calling NotesInitExtended. The include file globerr.h tells me that there isn’t any predefined error message associated to this error code. It’s in this package :
#define PKG_OS2_LANMAN 0x2300 /* + status - 0x0834=2100 (LANMAN base) */
-
I don’t think it is an error mask related issue. Applying the ERR() mask on the error code still returns 8960 (of course).
-
It is intermittent, that is, sometimes everything works fine without any error.
-
I suspect that initializing the Notes API several times (even though in different processes and synchronized) could be the source of my problems.
-
I’ve not tried calling OSLoadString yet, since I’m not able to reproduce the problem right now.
-
Each process has its own copy of the user.id and notes.ini files.
-
I also have the problem on Windows Server 2003 (Client).
Any ideas?