Using .lib with VB.net 2005 ? And a dll question.


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 3 of 3

Thread: Using .lib with VB.net 2005 ? And a dll question.

  1. #1
    Join Date
    Jan 2005
    Posts
    56

    Using .lib with VB.net 2005 ? And a dll question.

    Hi.

    I have two questions. I made an application and i need some features from another application. I talked to the creator and he agreed to help me. But he use C++.

    He offered to give me a dll or a lib file. But, naturally, i should not redistribute the dll or lib file.

    First question: can the lib file be used with VB.net 2005 Express Edition ?

    Second question: is there a way to incorpore the dll to the application exe file ?



    Thanks for your help !

  2. #2
    Join Date
    Nov 2003
    Location
    Portland, OR
    Posts
    8,387
    I know of no way to compile a .LIB or .DLL file into a VB.NET executable. The supported method for using third-party code from VB.NET is to create a .NET or COM DLL and reference the DLL from your VB application, or to call a standard DLL (which I suspect is what your friend wants to give you) using P/Invoke. VB does not support static linking.
    Phil Weber
    http://www.philweber.com

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

  3. #3
    Join Date
    Jan 2005
    Posts
    56
    Thanks for the reply.

    I'll check how to do with my friend. Thanks again.

Similar Threads

  1. VB.Net 2005 and Transparency
    By MarkDuncan in forum .NET
    Replies: 0
    Last Post: 01-11-2006, 10:17 AM
  2. VB.NET: ContextMenu Question
    By Drakenza in forum .NET
    Replies: 1
    Last Post: 07-22-2005, 07:09 PM
  3. Replies: 0
    Last Post: 07-18-2005, 11:43 AM
  4. Replies: 0
    Last Post: 07-09-2005, 07:50 AM
  5. VB.NET upgrade question
    By tlwahl in forum .NET
    Replies: 1
    Last Post: 06-30-2005, 08:03 AM

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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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