digg it |
del.icio.us |
| Copyright © Touch-Base Ltd 2008 | |
UPDD supports an application program interface (API) on all supported platforms. This allows user written programs to interact directly with the driver or pointer device handled by UPDD. It is assumed that the reader is familiar with the various functions and parameters of TBUPDD, since that information is not duplicated here.
The API calls work exactly the same in all environments except obvious operating system specific calls.
Registry get and set setting calls work exactly the same in all environments. In Windows they access the registry whereas in other operating systems they access the files holding the registry structure.
Depending on which operating system and client language is used the user has a choice of linking to the API statically or dynamically. For example on Windows both static and dynamic libraries are available, however Visual Basic only supports dynamic linking.
Depending on the OS in use the following files implement the UPDD API:
|
TBapi.h | function declarations |
| TBbundle.h | contains bundle-specific data (file supplied with the driver - 3.x.x / 4.0.x only) | |
| Tbapi.lib | lib file used for dynamic linking to TBAPI.DLL | |
| Tbapi.dll | dynamically linked library (supplied with the driver) | |
| Tbapi.bas * | contains DLL function declarations, constants and data types and helper functions for VB | |
| Tbbundle.bas * | contains VB bundle specific data. (3.x.x / 4.0.x only) | |
![]() |
TBapi.h |
function declarations |
| TBbundle.h | contains bundle-specific data (file supplied with the driver - 3.x.x / 4.0.x only) | |
| TBApi.lib | statically linked implementation for a given target processor | |
![]() |
TBapi.h | function declarations |
| nonwindows.h | declarations of Windows specific constructs for non Windows targets | |
| nonwininternals.h | declarations of Windows specific constructs for non Windows targets | |
| TBbundle.h | contains bundle-specific data (file supplied with the driver - 3.x.x / 4.0.x only) | |
| libTBApi.a | statically linked implementation for a given target processor |
|
![]() |
TBapi.h | function declarations |
| nonwindows.h | declarations of Windows specific constructs for non Windows targets | |
| nonwininternals.h | declarations of Windows specific constructs for non Windows targets | |
| TBbundle.h | contains bundle-specific data (file supplied with the driver - 3.x.x / 4.0.x only) |
|
| libTBApi.so | statically linked implementation for a given target processor | |
| Java applications will need to use the Java Native Interface (JNI). This can link using either the DLL or the static library. A partial JNI interface is available, but not yet supported - this is supplied in source form to simplify JNI implementation. | ||
Full details of the version 4 SDK and API are currently being documented in the advanced technical SDK dialog.
A number of SDK entries can be found in the Knowledge Base , one of which offers advice on Getting started with the SDK . Please contact Touch-Base if you require further details in the interim period. |