.NET

.NET

Reply
Contributor
14 Posts
0 Kudos
Registered: ‎03-29-2011
Post 1 of 2

Creating an instance of the COM component

559 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
102 Posts
26 Kudos
Registered: ‎06-15-2011
Post 2 of 2

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
Are you interested in helping shape the future of the Autodesk Community? To participate in this brief usability study, please click here. Your time and input is greatly appreciated!