遇到错误
MicaZh
乐观自信爱
展开
-
Microsoft Data Access Components(MDAC) version 2.6 or later
错误提示:System.InvalidOperationException: The .Net Framework OleDb Data Provider requires Microsoft Data Access Components(MDAC) version 2.6 or later. Version 2.50.4403.12 was found currently installed.解决方法:修改注册表即可。Windows Registry Editor Vers..原创 2021-09-07 17:35:07 · 2317 阅读 · 0 评论 -
CAD开发中遇到的问题
问题1 CGAL环境,fatal error C1189: #error : "Incompatible build options"#if defined(__MSVC_RUNTIME_CHECKS) && !defined(_DEBUG)# pragma message("Using the /RTC option without ...原创 2018-07-18 16:42:50 · 4086 阅读 · 1 评论 -
InteliSense:"没有可用的附件信息"
关掉:IntelliSense,重新打开Tools->Options->Text Editor->C/C++->Advanced-> Disable IntelliSense工具->选项->文本编辑器->C/C++->常规->自动列出成员、参数信息 ...原创 2018-07-24 19:29:52 · 2568 阅读 · 0 评论 -
MIDL2011报错。
错误信息2>.\PlanObj.idl(43) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanBoundaryCom' ]2>.\PlanObj.idl(65) : error MIDL2011 : unresolved type declaration : IAcad...原创 2018-04-03 14:12:17 · 852 阅读 · 0 评论 -
VC++ 字符串转换
1CString 转 BSTRCString s=pLayerName;BSTR bstr=s.AllocSysString();2 BSTR 转 CStringCString sName;BSTR bstrName;sName=(const TCHAR*)_bstr_t(bstrName);3CString转化为double型double=atof(CSt...原创 2018-06-15 10:11:34 · 355 阅读 · 0 评论 -
无法解析的外部符号 IAcadApplication IID_IAcadApplication
error C2065: “IAcadPreferences”: 未声明的标识符解决方法:#include "acadi.h"无法解析的外部符号 IID_IAcadApplication#include "acadi_i.c"转载 2018-12-17 15:10:53 · 1173 阅读 · 1 评论