(1)Download the corresponding version of TAO. Since TAO 1.3a supports VC ++ 6.0, I downloaded acemo-tao-1.3a_with_latest_patches.zip. Some newer versions do not support VC ++ 6.0.
: Http://www.theaceorb.com/downloads/index.html.
When downloading source files, you can download TAO
Some sections of Developer's Guide, including:
Chapter 3-
Getting Started
Chapter 4-The Makefile, Project and Workspace Creator (MPC)
TAO Developer's Guide is paid for download, but the above section with TAO support documentation (http://www.cs.wustl.edu /~ Schmidt/TAO.html) is sufficient for getting started.
(2)Decompress aceappstao-1.3a_with_latest_patches.zip to C: \ ACE_wrappers
(3)Set three environment variables:
ACE_ROOT = C: \ ACE_wrappers; TAO_ROOT = % ACE_ROOT % \ TAO; PATH must include: % ACE_ROOT % \ bin; % ACE_ROOT % \ lib;
(4)Create the file config. h In the PATH % ACE_ROOT % \ ace and enter
#include "ace/config-win32.h"
(5)Open with vc ++ 6.0
%TAO_ROOT%\TAOACE.dsw
Build: all projects in the workspace are dependent on each project. To shorten the Compilation Time, you do not have to re-build the project every time you create it. You only need to select the project to be created, right-click and choose build (selection only) to perform incremental compilation.
You can view dependencies between projects through project-> dependencies.
After all the projects are created, you can view the newly created dll and lib in % ACE_ROOT % \ lib.
(6)Finally, if you want to use the MPC, install perl. By using the nm's dos commands, we can use the CPP source file we created to automatically generate the project dependencies of VC ++ 6.0. perl I chose the strawberry version of perl,ActiveState perl is applicable to linux and strawberry perl is applicable to windows.
Strawberry perl is free of charge. You can download a newer version from the official website.
I used: strawberry-perl-5.12.3.0.msi
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Now, you can learn
Chapter 3-Getting Started
Chapter 4-The Makefile, Project and Workspace Creator (MPC)
Now you can get started with TAO, share and enjoy!