Chapter 3, Mobileview terminals sdk, Overview – Rockwell Automation 2727-MRSDK MobileView Terminals Software Development Kit User Manual User Manual

Page 23: Overview -1

Advertising
background image

1

Publication 2727-UM004B-EN-P - February 2004

Chapter

3

MobileView Terminals SDK

Overview

The MobileView Terminals SDK provides developers with access to an
extensive set of functions that are specific to the MobileView
Terminals hardware and constitute extensions of the standard
Windows CE API. These functions, like the standard Windows CE
functions, are implemented in the C language and can be called
directly from C or C++ programs.

A file called “ketopapi.bas” is included in the MobileView Terminals
SDK. This file includes Basic declarations for all the constants, data
structures and functions associated with the MobileView SDK C
language libraries. Basic programmers can copy declarations from this
file into their programs as needed, just as they can copy the
declarations for the standard CE functions from a Microsoft provided
file called “winceapi.txt”.

C/C++ language developers should note that the headers included in
the MobileView SDK contain conditionals that allow them to be
included in C and C++ modules without modification. A C++ program
should include a #define __cplusplus directive prior to an #include
<sdk_header> directive, or else the __cplusplus macro should be
defined on the compiler command line.

On the other hand, users of this IDE who wish to write in standard C
should keep in mind that this default situation will require all standard
C modules to be conditionally bracketed in the same way that the
headers in the SDK are bracketed. For example:

#ifdef __cplusplus
extern “C” {
#endif

/* C code goes here */

#ifdef __cplusplus
}
#endif

Advertising