| | | | Browse by category |
Article ID: 856
Last updated: 05 Feb, 2008
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.
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:
- Bring up a DOS prompt and type:
SET CTRL3D=1
- Change directory to where you have the Software Parts Manager installation and run partmgr.exe.
- If you build zApp now it will do it with the CTRL3D option turned on.
The second method:
- Go to the directory
partszap0302wsourceetcPCwinnt.
- Edit the files template.in and makefile.in.
- Search for:
!ifndef CTRL3D
CTRL3D=0
!endif - Change it to:
!ifndef CTRL3D
CTRL3D=1
!endif - The file template.in is for the zApp samples and the file makefile.in is for the zApp source code.
The third method:
- Bring up the Software Parts Manager. Two tabs appear to the left of your screen: Repository and BuildInfo.
- Select BuildInfo. The Build Information node appears.
- Expand the Build Information node. A child node called Configurations appears.
- Use your right mouse button to click on Configurations.
- Select Add. The Build Configuration dialog appears.
- Give the configuration a name; for example, Borland CTRL3D.
- Select the correct Build Profile and Environment.
- In the Build Arguments Edit line, type in -DCTRL3D and -DCTL3D.
- Click on OK. The configuration is created.
- Build zApp with this new configuration.
- 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: 2651
Posted: 11 Dec, 1997 by
Dean J.
Updated: 05 Feb, 2008 by
Dean J.
Others in this category
Powered by KBPublisher (Knowledge base software)