DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: dll referencing problem

  1. #1
    Join Date
    Apr 2009
    United Kingdom

    dll referencing problem


    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

  2. #2
    Join Date
    Nov 2003
    Portland, OR
    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:
    Phil Weber

    Please post questions to the forums, where others may benefit.
    I do not offer free assistance by e-mail. Thank you!

Similar Threads

  1. Replies: 1
    Last Post: 08-29-2007, 03:22 PM
  2. I have a problem with dll registerserver
    By hamaimiy in forum VB Classic
    Replies: 6
    Last Post: 07-17-2007, 04:12 AM
  3. Replies: 5
    Last Post: 07-20-2001, 02:25 PM
  4. Dll function call problem
    By Pete Mitchell in forum VB Classic
    Replies: 6
    Last Post: 06-28-2000, 07:13 AM
  5. Referencing a DLL from JSP
    By H. Wilson in forum Java
    Replies: 0
    Last Post: 03-23-2000, 01:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center