I just compiled my first program using lotus cpp api. The program is a server task and so I copied it in the lotus\domino directory and then loaded it. An error pops up saying can not find lncppn30.dll. I then copied that dll from my C:\notescpp\lib\mswin32 folder to the \lotus\domino folder. Then the application excuted perfectly. My question is when I wrote code using the c api I did not have to have a dll copied into the \lotus\domino folder but now I do, is there something I am doing wrong?
c-api library file doesn’t contain any code, it’s just for dynamically linking your calls to nnotes.dll.
c++api library does contain code. your program is then linked to lncppxx.dll (which itself uses current nnotes.dll and maybe other dlls). this is why you have to supply it along with your program.