02.04.2013 Views

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

Sentinel Hardware Keys Developer's Guide - Customer Connection ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Frequently Asked Questions<br />

Contents Glossary Index Troubleshooting<br />

Question 10: What precautions should I take while protecting<br />

applications using CodeCover?<br />

We recommend you to protect only the RELEASE build applications for<br />

CodeCover, as the memory management and optimizations may differ for<br />

DEBUG and RELEASE build applications.<br />

Hence, it is recommended not to use CodeCover protection for the DEBUG<br />

built applications.<br />

Question 11: Why is it so that when I protect the DLL that is statically<br />

linked to the application, the application fails to execute with<br />

the protected DLL. Whereas, if the DLL is linked dynamically, it executes<br />

successfully?<br />

This is a static linked DLL issue that occurs once you have protected your<br />

application. Please use one of the following tips while protecting a statically<br />

linked DLL to resolve this issue:<br />

Protect both the static linked DLL, and executable instead of<br />

protecting only the DLL.<br />

Use LoadLibrary instead of linking the DLL statically.<br />

Question 12: What is the advantage of using the Command-Line<br />

CodeCover utility?<br />

The Command-Line CodeCover utility is an exe file. And as such, it can be<br />

called by your project building script, to protect your desired application.<br />

This eliminates the dependency on the Toolkit to protect the application.<br />

Question 13: Will there be any difference in my protected application<br />

if I protect my file using the Command-Line CodeCover utility,<br />

instead of the Protect button provided in the License Designer<br />

stage of the <strong>Sentinel</strong> <strong>Keys</strong> Toolkit?<br />

The Command-Line CodeCover utility uses the license template (*.ltm) file to<br />

get the various protection options (like: protection layer level, licensing<br />

mode, network settings, etc. Hence, there is no difference between the file<br />

protected via the Command-Line CodeCover utility or <strong>Sentinel</strong> <strong>Keys</strong> Toolkit.<br />

<strong>Sentinel</strong> <strong>Hardware</strong> <strong>Keys</strong> Developer’s <strong>Guide</strong> 107

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!