.NET

Reply
Contributor
jlsantiago
Posts: 14
Registered: ‎03-29-2011
Message 1 of 2 (505 Views)

Creating an instance of the COM component

505 Views, 1 Replies
06-29-2011 11:58 PM

(visual studio 2010 c# and AutoCAD 2010 )

I`m trying to open a DWG file as follows.

 

using Autodesk.AutoCAD.Interop;
using Autodesk.AutoCAD.Interop.Common;





AcadApplication gbl_app = null;
AcadDocument gbl_doc = null;
gbl_app = new AcadApplication();
gbl_doc = gbl_app.Documents.Open("c:\\fichero.dwg"true);
gbl_app.Visible = true;



 

 

 

and I get the following error

 

System.Runtime.InteropServices.COMException (0x80010001): Error al crear una instancia del componente COM con CLSID {6D7AE628-FF41-4CD3-91DD-34825BB1A251} desde IClassFactory debido al siguiente error: 80010001.

ADN Support Specialist
Virupaksha.aithal
Posts: 97
Registered: ‎06-15-2011
Message 2 of 2 (498 Views)

Re: Creating an instance of the COM component

06-30-2011 02:02 AM in reply to: jlsantiago

Hi

 

Below blog article should help you to resolve your issue    

 

http://through-the-interface.typepad.com/through_the_interface/2010/02/handling-com-calls-rejected-b...

 

Thanks

Virupaksha Aithal

Autodesk Developer Network



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.