ACE installation manual under Windows and VC ++ 6.0

xiaoxiao2021-03-06  112

1, unzip the ACE.zip, for example, to decompress the ace_wrappers directory, such as C: / ACE_WrapPers3, create a new ACE_ROOT environment variable in the system, the value is set to C: / ace_wrappers specific settings to: I Computer - Property - Advanced - Environment Variables - New 4, Open C: / ACE_WrapPers / ACE Directory New config.h file Add #include "ace / config-win32.h" 5, if you use C standard libraries, such as iostream, add #define ace_s_standard_cpp_library 16 before #include in config.h, if you use MFC to add #define ace_has_mfc 17 before #include in config.h, open VC6.0 IDE Setting Tools -> Option -> Directory, New C: / ACE_WrapPers8, open the C: /Ace_wrappers/ace/ace.dsw file compile, wait for about 10 minutes, compile! 9. In this way, you can pay attention in the header of the MFC project file in the future. Or STATIC / DYNAMIC LIBRARY version, make sure you build your future, (for example, Debug testing requires the Debug version Ace, others), all different settings will be provided to you. So all settings in the config.h file will involve the features and range of use of this compiled Ace.dll!

转载请注明原文地址:https://www.9cbs.com/read-125721.html

New Post(0)