Initializing the Form Library

All applications that use the API functions must initialize the Form Library to ensure correct error and memory handling behavior. The sample application does this in a separate method calledinitialize. In turn, initialize calls the Form Library functionmethodfunction DTK.initialize and passes it the name of the current program.

Define the initialize method to call the DTK.initialize method. DTK.initialize initializes the API environment.
   private static void initialize() throws UWIException
   {
      DTK.initialize("calculateAge", "1.0.0", "2.6.0");
   }