Author Topic: Unable to Reference COM dll  (Read 4222 times)

0 Members and 1 Guest are viewing this topic.

sling blade

  • Guest
Unable to Reference COM dll
« on: February 13, 2013, 09:46:06 PM »
Hi,

I am trying to install the "Autodesk Civil Engineering 10.0 Land Object Library" dll into a new VB project using VS 2010 but when I do I get "<The system could not find the reference specified>" message in the References list (see attachment screen shot).

When I try in using C# I do get a different error it is says, "Could not resolve COM reference ... the type library importer encountered an error during type verification. Try importing without class members."

I have installed VS on a non developing computer to test and I get the same errors so I assume its something I am doing ...

Has anyone run into this before? What am I doing wrong?


Regards,

Scott

Jeff_M

  • King Gator
  • Posts: 4087
  • C3D user & customizer
Re: Unable to Reference COM dll
« Reply #1 on: February 13, 2013, 10:41:47 PM »
You must reference the dll's directly from the install folder, not by finding the COM references. See here for an explanation and instructions.

sling blade

  • Guest
Re: Unable to Reference COM dll
« Reply #2 on: February 14, 2013, 04:11:19 PM »
Thanks very much! Referencing the dll directly sorted my issue.