天天看點

MIDL2011報錯。

錯誤資訊

2>.\PlanObj.idl(43) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanBoundaryCom'  ]

2>.\PlanObj.idl(65) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanTerraCom'  ]

2>.\PlanObj.idl(89) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanGreenCom'  ]

2>.\PlanObj.idl(111) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanBuildCom'  ]

2>.\PlanObj.idl(133) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanParkCom'  ]

2>.\PlanObj.idl(155) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanHardCom'  ]

2>.\PlanObj.idl(177) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanSymbolCom'  ]

2>.\PlanObj.idl(198) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildTotalCom'  ]

2>.\PlanObj.idl(219) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildFloorCom'  ]

2>.\PlanObj.idl(245) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildFuntionCom'  ]

2>.\PlanObj.idl(267) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildNullFloorCom'  ]

2>.\PlanObj.idl(289) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildParkCom'  ]

2>.\PlanObj.idl(311) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildBaseCom'  ]

2>.\PlanObj.idl(332) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildPatioCom'  ]

2>.\PlanObj.idl(354) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildUnitCom'  ]

2>.\PlanObj.idl(376) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IBuildVerandaCom'  ]

2>.\PlanObj.idl(398) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IStageBoundaryCom'  ]

2>.\PlanObj.idl(421) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'ICPlanPatioCom'  ]

2>.\PlanObj.idl(444) : error MIDL2011 : unresolved type declaration : IAcadObject [ Interface 'IPlanBaseCom'  ]

解決:在VS2005工具-選項-VC目錄 添加OBJECTARX的引用庫