Use VC Project Settings of different ace versions in Windows

Source: Internet
Author: User

Test: ace5.3 and ace5.5 and vs. NET 2003

The directories are: F: \ ACE-5.5 and F: \ ACE-5.3.

Test Project: F: \ ace_use \ Chapter4 (using ace5.3) and F: \ ace_use \ Chapter3 (using ace5.5)

Abstract:
The current method is not very convenient, becauseProgramAced. dll is required for running. Currently, ace_root is used to find the specified aced. dll.

====================

For projects: F: \ ace_use \ Chapter3 (using ace5.5)

First, set ace_root

Then, add % ace_root %/lib to the path.

In this way, the program running in VC can be searched in the desired aced. dll.

 

F: \ ace_use \ Chapter3 must be set as follows:

Set the index path of the included files

In this way, the CPP file contains the ace header file, as shown below:

# Include "ACE/OS. H"

 

Set static Link Library Information:

 

At this point, ace5.5 is used to compile, link, and run the project F: \ ace_use \ Chapter3.

====================

For projects: F: \ ace_use \ Chapter4 (using ace5.3)

You only need to modify ace_root:

 

Of course, you need to re-open the vs project and set the environment variables to take effect.

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.