I have an urgent question now, please help me, thanks in advance!
I use lotus C API to program, but it always exits when debug to the function of NotesInitExtended during initialization, and there isn't any error returns, the code as:
int main(int argc, char *argv)
STATUS error = NOERROR;
if (error = NotesInitExtended (1, (char**)temp))
printf("\n Unable to initialize Notes.\n");
how can i resolve the problem? Thanks!
This topic has been locked.
1 reply Latest Post - 2012-03-16T10:37:04Z by Vinny
Pinned topic Why the C API function NotesInitExtended exits directly?
Answered question This question has been answered.
Unanswered question This question has not been answered yet.
Updated on 2012-03-16T10:37:04Z at 2012-03-16T10:37:04Z by Vinny
Vinny 06000071S91 PostACCEPTED ANSWER
Re: Why the C API function NotesInitExtended exits directly?2012-03-16T10:37:04Z in response to KW44_ci_ci
Its a programming error ..temp is char* and it is been casted to char** .
And there is no need to pass path of notes as second argument ... refer the samples in help doc http://www-12.lotus.com/ldd/doc/tools/c/4.6.2/Api462re.nsf/61fd4e9848264ad28525620b006ba8bd/e151a8f6c224633d85255f7f00664516?OpenDocument