乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 49|回复: 3

关于ARX开发环境的相关英文资料,请高手翻译!

[复制链接]

14

主题

43

帖子

3

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
99
发表于 2006-2-18 20:27:00 | 显示全部楼层 |阅读模式
ARX只能在VS2002中开发,这是安装文件说明的。但是我能在VS2003中开发,只是加入了VS2002的相关库文件。
今天我安装了VS2005,却用不了。还有,arx 根本不能安装完成。在网上找了好久,找到了这编英文文档。看不明白,请高手翻译一下,我等也好照做。
Using VC 8 (Visual Studio 2005) to Build for AutoCAD 2000/2002/2004
Now that Microsoft has released Visual Studio 2005, many of us want to use the new IDE for building ObjectARX applications. Assuming you've already set up your projects , then you'll need to start with an updated version of my VC Build Hook utility that supports Visual Studio 2005:
[B]
Download:  (311k)
Version 2.0.2.1 uploaded 2005-11-05 (supports VC 7.1 and VC 8*)
[/B]
[B]
* The updated VC Build Hook utility supports both VC 7.1 and VC 8, so you should remove any previous version before installing version 2. In case you have problems with the new version, I am leaving the link to version 1 in the . This way you can uninstall version 2 and reinstall version 1 so that you can continue using it in VC 7.1 as before.
[/B]
Once the updated utility is installed, it's just a matter of updating solutions and projects to the new format by opening them in Visual Studio 2005, then making some changes in the project settings. I'm assuming that correct headers and libraries are already included in your project settings as , so that all we need to do is make sure the commands being sent to the VC 7 build tools are satisfactory. I've only tested a few projects, so this list is not necessarily complete, but I only needed to make the following changes to a freshly converted project to build it successfully.
[B]
[U]
  • Disable the Manifest Tool. This is easy to do, but not obvious or well documented. Right-click on a project and select 'Tool Build Order...', then select 'All Configurations' in the configuration dropdown and dismiss the warning dialog, then uncheck the box beside 'Manifest Tool'. Using the IDE, you have to do this one project at a time.
  • In linker settings, on the 'Manifest File' tab, set 'Generate Manifest' to 'No'. This disables manifest file generation.
  • Disable error reporting. In C/C++ settings, on the 'Advanced' tab, set 'Error Reporting' to 'Default'. Do the same in linker settings, on the 'Advanced' tab.
  • Don't use Unicode response files. Change this in C/C++ settings on the 'General' tab by setting 'Use UNICODE Response Files' to 'No'. Do the same in linker settings, also on the 'General' tab. The VC Build Hook utility will automatically convert Unicode response files to ANSI files if they are being sent to a VC 7 build tool, so this step is not strictly required, however the build will be slightly less efficient if the files need to be converted.
  • Disable parallel builds! The VC Build Hook utility does not work correctly if two simultaneous builds are using different settings, so you should disable this new feature in Visual Studio 2005 global options. To do this, go to Tools->Options, open 'Projects and Solutions', select the 'Build and Run' tab, and change the 'maximum number of parallel project builds' to 1. In my experience, Visual Studio is more stable when parallel builds are disabled, so there is a benefit to disabling this feature that is unrelated to VC Build Hook.
  • If your original project had set either of the two VC Build Hook extended solution properties to a setting other than 'Default', they need to be set again in the converted project. This is because of a change in VC 8 that causes it to no longer accept extended solution property names containing a period character. Project settings are carried forward correctly; only solution properties are affected. [/U][/B]
    If your project uses precompiled headers, there is one additional issue to deal with. Visual Studio 2005 no longer supports the "Automatically Generate" (/YX) precompiled header option. This is not a problem when using the new VC 8 build tools, but when using the VC 7 build tools, it can make the build process unbearably slow. Luckily it's not difficult to re-enable automatic use of precompiled headers when building with VC 7 build tools. To re-enable this feature in a VC 8 project that is using the VC 7 build tools, you need to edit the 'Precompiled Header' tab of the C/C++ settings. First, make sure precompiled headers are disabled ('Create/Use Precompiled Header' should be set to 'Not Using Precompiled Headers'), then set the 'Precompiled Header File' to '$(IntDir)\$(TargetName).pch' for all configurations, then go to the 'Command Line' tab and add '/YXStdAfx.h' to the 'Additional options' field at the bottom. Voila! Precompiled headers should now work just as they did when building with the Visual Studio .NET 2003 IDE.
    That's all I had to do with the converted projects I've tested so far, but I need to stress again that these steps only work after you have implemented the practices I've discussed in . If I learn of more settings that need to be changed in VS 2005, I will add them to this list.
    在这里  还有很多相关系统的设置。最好请高手给说明一下。谢谢了。

    本帖以下内容被隐藏保护;需要你回复后,才能看到!

    游客,如果您要查看本帖隐藏内容请回复
  • 回复

    使用道具 举报

    46

    主题

    261

    帖子

    8

    银币

    后起之秀

    Rank: 20Rank: 20Rank: 20Rank: 20

    铜币
    445
    发表于 2006-2-20 19:48:00 | 显示全部楼层
    期待!
    回复

    使用道具 举报

    6

    主题

    17

    帖子

    2

    银币

    初来乍到

    Rank: 1

    铜币
    41
    发表于 2006-2-22 17:04:00 | 显示全部楼层
    原文 http://www.manusoft.com/Resources/ARXTips/Main.stm#MSVCEnvironment
    部分翻译(Introduction,Microsoft Visual C/C++ Environment,Using VC 7 (Visual Studio .NET 2002) to Build for AutoCAD 2000/2002),由于本人水平有限,只能翻成这样了。如果有什么地方看不懂,可以在这里讨论。
    译文:
    回复

    使用道具 举报

    6

    主题

    17

    帖子

    2

    银币

    初来乍到

    Rank: 1

    铜币
    41
    发表于 2006-2-22 17:06:00 | 显示全部楼层
    还有三部分:
    1,Using VC 7.1 (Visual Studio .NET 2003) to Build for AutoCAD 2000/2002/2004
    2,Using VC 8 (Visual Studio 2005) to Build for AutoCAD 2000/2002/2004
    3,Enabling IntelliSense and Class Browsing for ObjectARX Headers
    有空再慢慢翻,呵呵
    回复

    使用道具 举报

    发表回复

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    • 微信公众平台

    • 扫描访问手机版

    • 点击图片下载手机App

    QQ|关于我们|小黑屋|乐筑天下 繁体中文

    GMT+8, 2025-2-5 16:50 , Processed in 0.304337 second(s), 60 queries .

    © 2020-2025 乐筑天下

    联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表