vs2010+CAD2012 引用acdbmgd.dll和acmgd.dll
vs2010+CAD2012 环境下 引用acdbmgd.dll和acmgd.dll执行 最简单的代码
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using Autodesk.AutoCAD.Runtime;
using Autodesk.AutoCAD.DatabaseServices;
namespace WindowsFormsApplication1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
GetLayerPro();
}
public static void GetLayerPro()
{
Autodesk.AutoCAD.DatabaseServices.DBDictionary dt = new Autodesk.AutoCAD.DatabaseServices.DBDictionary();
}
}
}
报错未能加载文件或程序集“acdbmgd.dll”或它的某一个依赖项。试图加载格式不正确的程序。
http://bbs.mjtd.com/xwb/images/bgimg/icon_logo.png 该贴已经同步到 苍穹的微博 要继承一个有入口函数的类哦,IExtent... 可否给个实例demo
页:
[1]