Lotus Domino C API Visual Studio Express 2012 C++ 64 bit how to.

You will need the IBM Lotus C API Toolkit for Notes and Domino 8.5.x.

Download and install the latest Intel C++ Compiler for Windows “Redistributable library package for Intel 64”. This prevents any “LNK1004 libirc.lib error” errors.
See http://software.intel.com/en-us/articles/redistributable-libraries-of-the-intel-c-and-fortran-compiler-for-windows

Now to get started.
Open Visual Studio Express 2012
File -> New Project
Expand Templates -> Visual C++ -> Win32 and Win32 Console Application
, Name: Your application name, Location: Where you would like to store the project, and Click OK
Click Next, Application Type -> Console Application, Additional options -> Empty project, and then click Finish.

Go to Build -> Configuration Manager and select under Platform.
Select x64 for the new platform and Win32 to copy settings from and then click OK.
Change Active solution configuration to Release.
Click Close.

Go to Project -> Properties
Select Configuration Properties, then ensure Configuration -> All Configurations.
Configuration Properties -> General -> Character Set and change to Not Set and the click Apply
Configuration Properties -> C/C++ -> General -> Additional Include Directories and change to "PATH TO UNPACKED NOTESCPP API"\include
Configuration Properties -> C/C++ -> General -> Debug Information Format and change to Program Database (/Zi) and then click Apply.
Configuration Properties -> C/C++ -> Preprocessor -> Preprocessor Definitions and to: WIN32; W32;W64; NDEBUG; _CONSOLE; _AMD64; ND64 and then click Apply.
Configuration Properties -> C/C++ -> Code Generation -> Runtime Library and change to Mutli-threaded (/MT)
Configuration Properties -> C/C++ -> Code Generation -> Struct Member Alignment and change to 1 Byte (/Zp1) and then click Apply.
Configuration Properties -> Linker -> General -> Additional Library Directories and add C:\Program Files (x86)\Common Files\Intel\Shared Files\cpp\Lib\Intel64
Configuration Properties -> Linker -> Input -> Additional Dependencies add the following
"PATH TO UNPACKED NOTESCPP API"\lib\mswin64\notes.lib
"PATH TO UNPACKED NOTESCPP API"\lib\mswin64\notes0.obj
"PATH TO UNPACKED NOTESCPP API"\lib\mswin64\notesai0.obj
Click OK
Click Apply then Click OK

Please Register.

If you wish to add comments.