C API REGNewPerson

Hi All,I have implemented C API(REGNewPerson) for Domino 8.0.1 and testing it on 8.5 domino server. It is crashing my server.

There might me a C code issue but I have tested thoroughly and could not succeed.

There are four structurs - ID Info, MailInfo, MiscInfo, PersonInfo we need to fill. Individually filling of these structures works well but once I pass the referenec of any of the structure(IDInfi, mailInfo, MiscInfo) to PersonInfo, it crashes the server.

Also If I do not pass reference to the internal structures to the mail structure(as they are optional as per API documentation), it throws the error -

Error: unable to register a new user. Error:172f

The requested item does not exist

(Is this error is due to insufficient parameters.)

Has anyone implemented this API before, please share your comments.

-Yogesh

Subject: Problem with C compiler

There is a problem with microsoft visual studio for some C APIs. Compiling/linking file using microsoft nmake tool has resolved the issue