Community articleRunning the Form Sample Under C on AIX, Linux, and Solaris
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

These steps explain how to run the form sample application in the Viewer.
Compile the source code file formSample.c to produce an executable called formSample.exe. Then follow these steps to set up and run the Form sample application:
  1. Using the Viewer, open the form called FormSample.xfd located in the folder:
  2.    <API Installation Folder>\samples\Win32\form\demo\sample_application\

  3. Notice the radio buttons used to indicate gender and the empty Age field. Close theViewer.
  4. Run the sample application formSample.exe.
    • This produces a new form called output.xfd in the current folder.
  5. Use the Viewer to compare the two forms and note the changes produced by the application.