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

Error handling

Zero value as a handle means error. The user can call GetError function to retrieve error description.

C/C++
char* GetError(HANDLE handle)

C#/VBA/scripts
string GetError(int handle)

Notes:

  1. zero value is acceptable as parameter in case last called function returns 0 as handle.
  2. the function accepts DG_HANGLE, PRJ_HANDLE, RULE_HANDLE, etc as a handle parameter.