Since Lotus sandbox has been archived and I found no other resource for a good ExtMgr sample I try it here:
I am looking for a (step-by-step) “extension manager” DLL sample.
I am doing what described here:
But the part for “extension manager” is very short and not useful for me.
What I have done:
=================
mytest.def
==========
LIBRARY “mytest”
EXPORTS
LetMeIn @1
mytest.cpp
==========
#include <extmgr.h>
STATUS LNPUBLIC LetMeIn(void)
{
return NOERROR;
}
But I just get tons of compiler errors for the “Lotes C API” header files:
1>c:\xxx\tk_c_85\include\pool.h(40) : error C2146: syntax error : missing ‘;’ before identifier ‘pool’
1>c:\xxx\tk_c_85\include\pool.h(40) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
1>c:\xxx\tk_c_85\include\pool.h(40) : error C4430: missing type specifier - int assumed. Note: C++ does not support default-int
…
1>c:\xxx\tk_c_85\include\nsfnote.h(310) : fatal error C1003: error count exceeds 100; stopping compilation
What I am missing here? I assume I have to include some header files from Notes C API?
The documentation just says that I have to include extmgr.h …
Regards,
hfrmobile