Building zApp with the CTL3D option turned on

Article ID: 856
Last updated: 05 Feb, 2008
Article ID: 856
Last updated: 05 Feb, 2008
Revision: 1
Views: 2563
Posted: 11 Dec, 1997
by Dean J.
Updated: 05 Feb, 2008
by Dean J.
Problem


How do I build zApp with the CTL3D option turned on?


Cause





Action


There are three methods for building zApp with the CTL3D option.

The first method:

  1. Bring up a DOS prompt and type:
    SET CTRL3D=1
  2. Change directory to where you have the Software Parts Manager installation and run partmgr.exe.

  3. If you build zApp now it will do it with the CTRL3D option turned on.

The second method:

  1. Go to the directory partszap0302wsourceetcPCwinnt.

  2. Edit the files template.in and makefile.in.

  3. Search for:
                !ifndef CTRL3D
    CTRL3D=0
    !endif
  4. Change it to:
                !ifndef CTRL3D
    CTRL3D=1
    !endif
  5. The file template.in is for the zApp samples and the file makefile.in is for the zApp source code.

The third method:

  1. Bring up the Software Parts Manager. Two tabs appear to the left of your screen: Repository and BuildInfo.
  2. Select BuildInfo. The Build Information node appears.

  3. Expand the Build Information node. A child node called Configurations appears.

  4. Use your right mouse button to click on Configurations.

  5. Select Add. The Build Configuration dialog appears.

  6. Give the configuration a name; for example, Borland CTRL3D.

  7. Select the correct Build Profile and Environment.

  8. In the Build Arguments Edit line, type in -DCTRL3D and -DCTL3D.

  9. Click on OK. The configuration is created.

  10. Build zApp with this new configuration.

  11. Build your application under CTL3D, by running the application from the command prompt and typing SET CTL3D = 1 before building the application.
This article was:   Helpful | Not helpful
Report an issue
Article ID: 856
Last updated: 05 Feb, 2008
Revision: 1
Views: 2563
Posted: 11 Dec, 1997 by Dean J.
Updated: 05 Feb, 2008 by Dean J.

Others in this category