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.