.NET

.NET

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

Creating an instance of the COM component

551 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: 101
Registered: ‎06-15-2011
Message 2 of 2 (544 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

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.