Product Home
DTM Data Generator Online Documentation Prev Page Prev Page
General
Product Profile
Product Versions
Quick Start
Rule Wizard
System requirements
Connect to Database
Quick Start
Direct Connection
Connect to Desktop File
Data Sources
DSN File
OLE DB Connection
Connection Profile
Connection Information
Troubleshooting Guide
Project Properties
Program Settings
General
Interface
Rule and project
Execution
Date and Time Formats
Execution
Random BLOB Loader
Project migration
Database Model Viewer
Fill Table Rule
Table Fill Modes
Table Fill Options
Tables options
Columns options
Row count tab
Scripts
Rule Output
Preview
Fill Methods
Method Options
Random values
Values list
From table
List from file
From Values Library
Incremental
By pattern
By SQL statement
By formula
Custom generator
Named Generators
Field groups
Advanced Rules
Clear Rule
Tables Creation Options
Objects Creation
File Rule
Advanced Features
Tables Selection
Bulk project modification
Table Information
Value Library
Change target Table
Command Line
Performance Tips
Performance mode
Format Strings
Select column
Data export
How to...
Additional Info
Product Ordering
Database Utilities
Licence agreement
Demo version
Install
Uninstall
Upgrade
Support
Trademark Information
Glossary

Custom generator fill method

Custom data generator is an external DLL that contains complex data generation procedure.
There are two type of custom generators: provides by the software vendor and user defined.

The user can select predefined generator from drop down menu. To select user defined generator the user must specify complete path to DLL.

DTM Data Generator: Custom data generator fill method setup window

How to create custom data generator?

The programmer who want to create own generator should:

  • Create standard windows DLL
  • Build two functions Install and GetValue. See below for details.
  • Export these functions from DLL.
TCHAR* WINAPI Install(const TCHAR *param)
{
        return "Name of the generator";
}

TCHAR* WINAPI GetValue(void *)
{
        return "Some value";
}

Important note: you should use different custom generator's DLL for ANSI and Unicode version of the software product.