Pre-existing CAPI Sample Executables
This section provides the steps to execute already existing CAPI sample executables.
For Linux
Note
Ensure that the library name is different in ProtectApp ICAPI - libICAPI.so
.
Perform the following steps for already existing CAPI sample executables:
Extract the library file
libcadp_capi.so
from the CADP for C package.Rename the
libcadp_capi.so
library file tolibCAPI.so
.Create a backup of the
libCAPI.so
file available at the working location of the application. For Example,libCAPI.so_bkp
.Place the renamed
libCAPI.so
at the current working location.Restart the application.
For Windows
Perform the following steps for already existing CAPI sample executables:
Install the CADP for C using the
setup.exe
file to get the latest library and dll file.Note
Make sure you install the CADP for C in a different location where the older version of CADP CAPI is not installed.
Rename the following:
a.
libcadp_capi.lib
library file tolibcapi.lib
(for CADP CAPI)b.
libcadp_capi.dll
file tolibcapi.dll
(for CADP CAPI)Create a backup of the
libcapi.lib
andlibcapi.dll
file available at the working location of the application. For Example,libcapi.lib_bkp
andlibcapi.dll_bkp
.Place the renamed
libcapi.lib
andlibcapi.dll
at the current working location.Restart the application.