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.sofrom the CADP for C package. -
Rename the
libcadp_capi.solibrary file tolibCAPI.so. -
Create a backup of the
libCAPI.sofile available at the working location of the application. For Example,libCAPI.so_bkp. -
Place the renamed
libCAPI.soat 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.exefile 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.liblibrary file tolibcapi.lib(for CADP CAPI)b.
libcadp_capi.dllfile tolibcapi.dll(for CADP CAPI) -
Create a backup of the
libcapi.libandlibcapi.dllfile available at the working location of the application. For Example,libcapi.lib_bkpandlibcapi.dll_bkp. -
Place the renamed
libcapi.libandlibcapi.dllat the current working location. -
Restart the application.