Product Home
DTM Data Generation SDK Online Documentation
Product Profile
SDK components
Functions map
Low level API
Short Random
Integer Random
Random Symbol
Double Random
Random String
Random Date
Random Time
C/C++ example
Fill Methods level API
From list
From file
From table
From Values Library
Incremental
By maks
By SQL statement
Rule level API
Rule properties
Rule items
One rule item
Project level API
Project operations
Project properties
Project rules
Object handles
Database connection
Error handling
SDK limitations
Build application with SDK
License agreement

Object handles

Handle is a session-unique integer identifier or all SDK objects like connections, fill methods, rules, etc. The user should close unnecessary handles by CloseH call.

To close project handle the user should call CloseProject function and pass handle as parameter.

To close rule the user should call CloseRule function and pass rule handle as parameter.

To close rule's item the user should call CloseItem function and pass handle as parameter.

Note: a few functions return 0 is invalid handle. Please call GetError function for details in this case.

Handle types
TypeDescription
DG_HANDLEFill methods and database connections
PRJ_HANDLEProject handle
RULE_HANDLERule handle
ITEM_HANDLERule's item handle