2 programming - darwin/visual basic, Programming - darwin/visual basic -6, Declaration of types, functions, and constants – Yokogawa PC-Based MX100 User Manual
Page 1062

21-6
IM MX190-01E
21.2 Programming - DARWIN/Visual Basic -
Declaration of Types, Functions, and Constants
To use types, functions, and constants for Visual Basic, they must be declared in
advance. The following methods of declaration statements are available.
Statement of All Declarations
Adding the standard module library file for Visual Basic (DAQDA100.bas) to the
project is equivalent to declaring all types, functions, and constants.
Statement of Selective Declarations
The API Viewer that comes with Visual Studio can be used to copy the declaration
statements of arbitrary types, functions, and constants. Load the text file for the API
Viewer (DAQDA100.txt) on the API Viewer to use this function.
For a description of how to use the API Viewer, read the operation manual for Visual
Studio.
Writing Declarations Directly
Below is an example of a declaration statement.
Public Declare Function openDA100 Lib "DAQDA100"(ByVal
strAddress As String, ByRef errorCode As Long) As Long