Tell me more ×
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's 100% free, no registration required.

I need to do some operation in Autocad 2010 from Visual Studio 2008. When I try to access the Autocad from windows forms it doesn't work. Exception are thrown like specified module could not be found.

Inside the button Click I wrote the below code:

var obj = Autodesk.AutoCAD.ApplicationServices.Application.AcadApplication;

I referenced all necessary reference DLLs.

When I use interop methods it works fine.

share|improve this question
add comment (requires an account with 50 reputation)

Know someone who can answer? Share a link to this question via email, Google+, Twitter, or Facebook.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.