How to build your program with Data Generation SDK
There are to ways to all data generation functionality to your script or program. The first way is direct import required functions from DLL. This way is suitable for C/C++ and, in some cases, for C#. The second way is to use COM object "DGSDK.DGLib". This way is suitable for scripting languages like VBA, JScript, etc. You should use it with Active Server Page technologies as well.

Visual C++
At first, you should use #include "dgsdkdefs.h" directive in your source file(s).
The SDK contains "dgsdk.lib" import library that compatible with all modern Visual C++ versions starting 6.0. You should specify it as a linker input.
Example: cl mysource.cpp dgsdk.lib

C#
You can use DllImport to access required SDK functions located in "dgsdk.dll".
Example: csc mysource.cs

VBA
You should create "DGSDK.DGLib" object and use methods and properties to access SDK functionality.
Example:

   Set obj = CreateObject("DGSDK.DGLib")
   Debug.Print obj.DateRandom("DD/MM/YY", "01/01/80", "12/12/97")

Python
You should load "DGSDK.DLL" and use methods and properties to access SDK functionality.
Example:

  from ctypes import * 
  import ctypes
  dgSDK = cdll.LoadLibrary("dgsdk.dll")

Note: SDK contains command files (.cmd) that helps you build and run included examples by one click in case BIN directory of your C++ installation is included into PATH environment variable.

Important: you should place 'dgsdk.dll' and 'common.dll' in the folder where your application is located or add that folder to PATH environment variable.