Leica tps1100 Reference Manual page 25

Hide thumbs Also See for tps1100:
Table of Contents

Advertisement

GeoCOM Reference Manual
The internal representation of strings is not directly compatible between C/C++
and VBA. Therefore the one has to pre- and post-process such an output
parameter. In the following example, we know that the output parameter will be
less than 255 characters in length from the description of the RPC.
Dim s As String
' initialise string
s = Space(255)
Call VB_COM_GetErrorText(RC_IVPARAM, s)
' trim string, justify string length
s = Trim$(s)
Note: Incorrectly handled string output parameters may lead to severe runtime
problems.
TPS1100 - Version 1.05
Fundamentals of Programming GeoCOM
3-12

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents