Home |
Previous Page | Next Page Creating ActiveX Value Objects > Compiling Client and Server Projects >
For Windows client
projects, BladeSmith generates a ProjectX.dsp file in
the src\ActiveX directory to
use with Visual C++ 6.0 or later.
The general process for compiling a client project is:
- Set the include and library file directories in Microsoft Developer
Studio.
- Compile the ProjectX.dsp file.
To set the include files and library file directories
- In Microsoft Developer Studio Visual C++, choose Tools > Options.
- Click the Directories tab in the Options
dialog box.
- Select Include files from the Show directories for list
box.
- If the following directories are not on the list, add them:
- \informix\incl\c++
- \informix\incl\dmi
- \informix\incl\esql
- Select Library files in the Show directories for list
box.
- If the following directories are not on the list, add them:
- \informix\lib
- \informix\lib\c++
- \informix\lib\dmi
- Click OK to exit the Options dialog box.
To compile a Windows client project
- In Microsoft Developer Studio Visual C++, choose File > Open and
open ProjectX.dsp.
- Choose Build > Set Active Configuration.
- Select a version of the project in the Set Active Project Configuration
dialog box:
- Release. This version is suitable for
release and does not contain debugging support.
- Debug. This version contains support for
debugging.
- Click OK.
- Choose Build > Rebuild All to
compile.
Visual
C++ creates both a WinNT-i386 and a Debug directory
under the src\ActiveX directory to hold the
release version and the debug version, respectively, of the dynamic
link library.
Home |
[ Top of Page | Previous Page | Next Page | Contents |
Index ]