beautypg.com

Library user guide for microsoft visual c, 1 load-time library linking – Acrosser AR-B1673 User Manual

Page 41

background image

AR-B1673 User’s Guide

3. LIBRARY USER GUIDE FOR MICROSOFT

VISUAL C++

Microsoft Visual C++ can use Dynamic Link Library (DLL) files in two ways, that is Load-time library linking and
Run-time library linking. This chapter will explain how to use Protect-U library in both way.

3.1 LOAD-TIME LIBRARY LINKING

To use Protect-U library by Load-time library linking, we need to use all files from Protect-U library (see chapter
1.1).
The application source-code will need to be linked with the “ProtectU.lib” file (see picture 3.1), and will need to
include the “boardsecu.h” to call Protect-U functions (see picture 3.2). After that, the Protect-U functions (see
chapter 1.2) can be used like normal Visual C++ functions.

Picture 3.1

41