Error 4103 when using session.init()

Hi,I am stuck with a problem initializing a Notes (release 6.5) c++ API.

The Notes client is using a Domino Server.

If I use session.Init() , or session.Init(argc, argv) I get return error 4103.

If I instead use session.Init( “notes.ini” ) I get a memory error during Init (deep down in some nnotes.dll).

I am building an interface between an external database and Notes, where it shall be possible to start the default Email client (Notes) with an attachment (sort of ‘mailto:’, but with an attachment).

I have a working solution to my task using MAPI, but as I can understand MAPI is not well supported in Notes client. I get a memory error when trying to sendmail through MAPI.