.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Creating an instance of the COM component

2 REPLIES 2
Reply
Message 1 of 3
jlsantiago
1279 Views, 2 Replies

Creating an instance of the COM component

(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.

Tags (1)
2 REPLIES 2
Message 2 of 3

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

Message 3 of 3
649981528
in reply to: jlsantiago

Hello!your probelm  have to be  solved?   how to solve  this problem   can you guide me? 

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost