Configure ACE in C ++ Builder

Source: Internet
Author: User
Download the ace package first.

After downloading the ace package, decompress the ace package and store the ace_wrappers in the package to the specified directory. Store the ace_wrappers in disk D, that is, D:/ace_wrappers.

Compile and install the SDK before use.

(1) enter the Directory D:/ace_wrappers/ace, add a new file config. h in it, and enter the content in config. h: # include "ACE/config-win32.h ".

(2) Click "run" in the Start menu and enter the command: CMD in the pop-up window to enter the command console.
(3) enter the following command in the command console and execute it. Because my c ++ builder version is 6.0, set bcbver to 6. For details, see your own version:
Set ace_root = D:/ace_wrappers
Set bcbver = 6
(4) After completing (3), go to the ace Directory: D:/ace_wrappers/ace in the command console and run the following command:
Make-F makefile. Bor all
(5) After compilation, four files will be generated under D:/ace_wrappers/lib: ace_ B .dll, ace_ B .lib, ace_qos_ B .dll, and ace_qos_ B .lib.

The following describes how to use ACE in C ++ builder:

(1) ace_ B .dll and ace_qos_ B .dll are usually placed under the executable program of the CB project you created in the four files compiled earlier. The other two files are ace_ B .lib, ace_qos_ B .lib is added to the CB project you created.

(2) On the Directories/Conditionals attribute page of the Project Option dialog box popped up in IDE, edit the Include path and add the ACE Directory D:/ACE_wrappers.

(3) compile the project and start the ACE journey.

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.