Vba - Programming - Leica tps1100 Reference Manual

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
3.2.4
Programming Hints
Order of Include Statements
Since GeoCOM redefines
include order:
1. Include system headers like
2. Include
3. Include the current project headers
BOOLE Definition
GeoCOM defines its own Boolean type as an enumeration type of
. It is called
TRUE
Only if a
type value will be assigned to a
BOOL
the compiler (MS-VisualC/C++) generates an error. To solve this problem the
expression, which will be assigned to, has to be converted by a
.
BOOLE
3.3

VBA - PROGRAMMING

Similar to C/C++ programming the programming of VBA is based on the DLL
concept. To enable access to GeoCOM the special module
be included in the project.
function prototypes, which are available in GeoCOM.
3.3.1
Data Types in VBA - General rules for derivation
This subsection gives a summary of general derivation rules VBA-parameters
from C-data types. Basically the C/C++ - data types are given in a C/C++ notation
before they are used in a RPC-description.
If the appearance of a VBA data type does not follow the general rules then they
are described explicitly.
In general, the following rules can be applied:
Numerical data type
The numerical data types correspond to the C/C++-parameters in value and
range as close as possible. If it cannot be replaced directly then the best
possible replacement will be taken.
TPS1100 - Version 1.05
,
TRUE
FALSE
com_pub.hpp
. With one exception, this does not produce any problems.
BOOLE
stubs32p.bas
Fundamentals of Programming GeoCOM
and
we recommend the following
NULL
or
stdio.h
stdafx.hpp
BOOLE
includes all constants, data types and
FALSE
type variable or parameter
statement to
CAST
stubs32p.bas
and
has to
3-8

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents