Ace installation manual in windows and VC ++ 6.0

Source: Internet
Author: User

1. Decompress ace.zip, for example, decompress it to C :/
2. Locate the location of the ace_wrappers directory, for example, C:/ace_wrappers.
3. Create an ace_root environment variable in the system and set it to C:/ace_wrappers.
Specific settings: My computer-properties-advanced-environment variables-New
4. Open the C:/ace_wrappers/ace directory.
Create a config. h file
Add
# Include "ACE/config-win32.h"
5. If the C ++ standard library, such as iostream, is used,
Add it before # include in config. h.
# Define ace_has_standard_cpp_library 1
6. If you use MFC
Add it before # include in config. h.
# Define ace_has_mfc 1
7. Open vc6.0 ide
Set tools-> Option-> directory and add C:/ace_wrappers
8. Open the C:/ace_wrappers/ACE/ace. DSW file.
Compile. It takes about 10 minutes to complete the compilation!
9. In this way, you can # include "ACE/OS. H" in the header file of the subsequent MFC project file.

Note:
Each project has many different settings, such as the debug/release version, MFC/Not-MFC, or static/dynamic library version. Make sure that you build the project in the future, (For example, the ace of the debug version is required for debugging testing. The same applies to others). All different settings will be provided for you convenience.

Therefore, all the settings in the config. h file will involve the functions and scope of use of the compiled Ace. dll!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.