Results 1 to 5 of 5

Thread: Importing Library Files

  1. #1

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    51
    Hi, how do you import a library file into visual basic? I'm using vb5 and whenever I try to add a reference to the .lib file, it says "can't add reference to the specified file."

  2. #2
    Addicted Member
    Join Date
    Aug 1999
    Location
    Ilirska Bistrica, Slovenia
    Posts
    242
    As much as I know you can't import .LIB files in VB. You can import .DLLs, .TLBs, .OCXs, but not .LIBs.

    Zvonko
    Zvonko Bostjancic
    Ilirska Bistrica, Slovenia
    [email protected]
    Using VS6 Professional with SP3
    Programming mostly in VB and I've started to learn VC++ & MFC

  3. #3

    Thread Starter
    Member
    Join Date
    Oct 1999
    Posts
    51
    Then is there a way to convert the .lib file to another format? I really need to access the methods in it!

  4. #4
    Member
    Join Date
    Jun 2000
    Posts
    37
    If you really felt nuts you could use VC++ and create a dll that has the needed functions that just call the functions from the .lib file. Depending on your knowledge of C++ and how many functions you need, this can take anywhere from a few minutes to a loooooong time.

  5. #5
    Ya ya Baby!!!Me is Back
    Join Date
    Jul 2002
    Posts
    362

    wrong place

    wrong place

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width