此处报错对象不支持 additem属性或方法,报错显示文件中的classID错误,修改ID值可以正确生成,但是查阅了几个文件都无法满足,应该是根据实际的更新而更新的ID。
1 | <OBJECT CLASS="itemText" ID="DialogList" ACCESSKEY="d" CLASSID="CLSID:fc1ae18b-0282-42f1-90ae-bbd8f0181013"> |
关于解决办法及ClassID的解释参照:
Failed in Creating ArxWizMFCSupport class
Author: Broccoli
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Related Articles
2023-08-04
Configuring VS2019 + ObjectARX 2016
Here it reports an error Object does not support additem property or method. The error indicates looking for classID in the file. Modifying the ID value can generate correctly, but consulting several files did not satisfy the requirement. It should be an ID updated according to the actual update. 1<OBJECT CLASS="itemText" ID="DialogList" ACCESSKEY="d" CLASSID="CLSID:fc1ae18b-0282-42f1-90ae-bbd8f0181013"> Regarding the solution and explanation of ...

2023-08-19
ObjectARX 2021 VS2019 Build Error /RTCc rejects conformant code
error C2338: /RTCc rejects conformant code error solution Using VS2019/VS2022 to build the project reports an errorSeverity Code Description Project File Line Suppression State Error C1189 #error: /RTCc rejects conformant code, so it is not supported by the C++ Standard Library. Either remove this compiler option, or define _ALLOW_RTCc_IN_STL to acknowledge that you have received this warning. ArxProject2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC...

2023-08-19
Objectarx 2021使用vs2019生成报错 /RTCc rejects conformant code
error C2338: /RTCc rejects conformant code错误解决 使用VS2019/VS2022生成项目报错严重性 代码 说明 项目 文件 行 禁止显示状态 错误 C1189 #error: /RTCc rejects conformant code, so it is not supported by the C++ Standard Library. Either remove this compiler option, or define _ALLOW_RTCc_IN_STL to acknowledge that you have received this warning. ArxProject2 C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.28.29333\include\yvals_core.h 1231 修改项目->c/c++->最小类型检查,改为否 ![在这里插入图片描述]...

2023-11-17
Objectarx 使用libcurl请求WebApi
因为开发cad需要请求服务器的数据,再次之前我在服务器搭设了webapi用户传递数据,所以安装了libcurl在objectarx中使用数据。Open VS2012 x64 Native Tools Command Prompt补充地址: 我在此将相关的引用配置图片,cad里面的应用和常规的一致。     所...
2023-11-22
ObjectARX and Libcurl File Download Issues
Download failure causing CAD crash, error ‘Error handler re-entered. Exiting now’. The reason is that I inherited libcurl-related functions into a class and performed relevant WebAPI interactions within the class. However, because I made a request at the very beginning, I failed to initialize curl, leading to data transfer errors. It just needs to be initialized at the beginning of the function. 123456789101112131415curl = curl_easy_init();/*curl_global_init(CURL_GLOBAL_DEFAULT);*/if (curl)...

2023-11-17
Using libcurl to Request WebApi in ObjectARX
Because CAD development requires requesting data from the server, request data through WebAPI set up on the server before, so libcurl was installed to use data in ObjectARX.Open VS2012 x64 Native Tools Command Prompt Supplemental address: I will place the relevant reference configuration images here. The application inside CAD is consistent with the routine.  
