Community articleInitializing the Form Library
Added by IBM contributorIBM on July 26, 2013
Rate this article 1 starsRate this article 2 starsRate this article 3 starsRate this article 4 starsRate this article 5 stars

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 method 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");
   }