What is ACE? ACE self-adarable communication environments are freely, an OOs-oriented (OO) framework (OO) framework, which implements many core modes for concurrent communication software. ACE provides a rich set of rich C Wrapper Facade (packaging appearance) and framework components that can complete universal communication software tasks across multiple platforms. It is speculated that in the new C Builder, it will be possible to support and use this framework. ACE target users are developers of high performance and real-time communication services and applications. It simplifies the development of OO network applications and services using inter-process communication, event multiplexing, explicit dynamic links, and concurrent OO network applications. In addition, the ACE also automates the configuration and reconfiguration of the system through the dynamic link of the application at runtime and the application. The benefits of ACE With the help of ACE components, it is easy to write concurrent web applications on a OS platform, and then transplant them on a variety of other OS platforms. The design of ACE uses many key modes that improve software quality, including communication software flexibility, scalability, reuse and modularity. ACE is carefully designed to support a wide range of application quality (QoS) requirements, including delay sensitive applications, high performance, high-bandwidth applications, and predictability of real-time applications. ACE and TAO are designed to work well to provide a comprehensive middleware solution, which is the development source code of CORBA, follow standard implementation. ACE installation: The author only installed under the C Builder, did not use it under VC! But I think it is similar to CB. Under CB: 1, extract the downloaded ACE package to: c: / ace_warappers, build a config.h file in the C: / ACE_WARAPPERS / ACE directory, add: #include "ACE / config-win32.h in the C: / ACE_WARAPPERS / ACE directory "(If you install it under 98 / me, add #define ace_has_winnt4 2, open a DOS window, set the environment variable: set ace_root = c: / ace_wrappers set bcbver = 6 The BCB 6.0 used by the author, so set to BCBVER = 6 3, enter: c: / ace_wrappers / ace Type: make -f makefile.bor compile Ace, if you do not go wrong, you can use Ace under CB, of course, when compiling under CB You can't find the corresponding DLL, you can add ace.b.lib to the project. 4, compile TESTS, not necessary: Enter: ACE_ROOT / TESTS Make -f makefile.bor Success, you can: run_tests.bat bor to run the network to compile Tests.
Remember to set the corresponding header file path in the CB Option / Directory! Then you can join the header file in the project, use the ACE library! You can also first look at the examples of our shackles. Believe that its cross-platform and high performance will attract you! I don't say much to the installation under the VC. There is an ACE_INSTALL.HTM file in the decompression directory of the ACE. There is a detailed description (in other operating systems and development platforms, you can refer to), I believe it is difficult you! How many years have been developed, such as some excellent things, very few people know, really ... 1. ACE official homepage: http://www.cs.wustl.edu/~schmidt/Ace.html Download address : Http://deuce.doc.wustl.edu/download.html I downloaded is the apip in the Latest beta Kit (the compressed package in Latest Release seems to have a problem, I have WinRAR3.30 to unpress the error) II, After decompression, put it on the D disk D: ace_wrappers
Third, in the D: ACE_WrapPersace directory, new file config.h is added to the line #include "ace / config-win32.h" four, compile: Open D: ace_wrapperscece.dsw with VC6.0 Display Ace DLL CLASSES ACE LIB CLASSES or 1. Select "Compile" on the menu, "Place a long row configuration", select "Compile", "Rebuild" (or any, such as Ace DLL - Win32 MFC Debug) This process may last half Hours to an hour or 2, select "Compile", "Batch Build" from the menu, select the project you need this process can last for two to four hours. LIB file is under D: ACE_WRAPPERSACE, generated The .dll file is in D: ACE_WrapPersin, the same open ACE_STATIC.DSW compile ACE_STATIC.LIB ACE_RMCASTS.LIB ACE_RMCASTSD.LIB TMCASTS.LIB TMCASTSD.LIB
Naming of DLL and LIB files generated by ACE: (D = Debug, s = static) debug - aced.lib, debug static - accept.lib, release - ace.lib, release static - aces.lib 5, sample The compilation of the example is used to open D: ACE_WrapPers ESTS ESTS.DSW "Compile", "Batch Build" 6, self-writer engineering: ACE programmer tutorial. Sample program in PDF: URL: http: / /www.cs.wustl.edu/~schmidt/ace_wrappers/docs/tutorials/guide-tutorials.html copies the original code on the page to a new file and name Server.cpp to open, compile, rebuild all by VC, compile, Pop-up dialog, "This Build Command Require ...", click "Yes" will appear if there is "Cannot Open include file: 'ace / suck_acceptor.h': no such file or directory" project - set -c / C : Preprocessor, additionally comprising a path: D: / ACE_wrappers if "You must link against multi-threaded libraries when using ACE (check your project settings)" Engineering - set -C / C : Code Generation - Use run-time library: Debug multithreaded DLL If there is "ERROR C2065: 'ACE_ERROR': undeclared Identifier" error C2065: 'ace_debug': undeclared identifier #include "ace / log_msg.h"