Follow

Installation of SDK API library

Introduction

In order to install the SDK library you need the navigation+sdk package. If you don't have it please check Download page.
The installation of SDK library means storing it locally on your computer to be available for compilation.
Next, the SDK library also contains the communication drivers, which needs to be copied on device for run-time operations.

Package content

The SDK library for Windows in available packages is stored in the following form:

SDK\

   Lib\
     .NET\
        ApplicationAPI.NET.dll
     CPP\WindowsCE\
        ApplicationApi.lib
     CPP\WindowsXP\
        ApplicationApi.lib

   Include\
     VS2005\
     eVC4\

   Drivers\
     WindowsCE\
        ApplicationApi.dll
        sdkdriver.dll
     WindowsXP\
        ApplicationApi.dll
        sdkdriver.dll

Please note that:
For a development with Windows Mobile platform you can use the libraries of WindowsCE
For a development with Windows 7 and Windows 8 you can use the libraries of WindowsXP

Use for compilation

Compilation with C#

For successful compilation you need to include the file SDK/Lib/.NET/ApplicationAPI.NET.dll into a project using Add Reference.
The compilation tool normally makes sure the dll file is placed next to the resulting application exe file as it is needed for runtime.

Compilation with C++

For successful compilation you need to include the file SDK/Lib/CPP/Platform/Application.lib using Add Reference.
where Platform corresponds to your actual platform (OS), e.g. WindowsCE for ARM, or WindowsXP for Win32.
You also need to include the header files from SDK/Include/Compiler, where Compiler is the compiler you use.
We support two compilers: Visual Studio 2005 or 2008 (folder name VS2005), and Embedded Visual 4.0 (folder name eVC4).

Alternatively you only need to include the header and cpp files from SDK/Include/Compiler into your project.
In such case you do not need to link ApplicationApi.lib for compilation.

Use for runtime

Depending on your platform/OS you need to copy the appropriate communication drivers next to the application exe.
The drivers are ApplicationApi.dll and sdkdriver.dll and you need to select them from the folders SDK/Drivers/Platform,
where Platform corresponds to your actual platform (OS), e.g. WindowsCE for ARM, or WindowsXP for Win32.

In addition to it, for .NET applications you also need to have ApplicationAPI.NET.dll from SDK/Lib/.NET next to the application exe.

Attention: When moving to a new version of the SDK library, please make sure you remove any old versions of dlls from device.
It might be you copied the dlls into Windows system folders, and this takes precedence over positioning it next to the application exe.

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments