-
dll referencing problem
Hi
I am using visual studio 2003 in myproject. I got a dll from hardware vendor. I could not able to referrence that dll in my project. It throws an error message as sated below
This is not a valid assembly or COM component.Only assemblies with
extension 'dll' and COM components can be referenced.
Any clue to rectify this problem.
Thanks in advance
-
If it's not a COM component or .NET assembly, then you cannot add a reference to it. You'll have to use p/invoke to call its methods: http://msdn.microsoft.com/en-us/magazine/cc164123.aspx