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."
Printable View
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."
As much as I know you can't import .LIB files in VB. You can import .DLLs, .TLBs, .OCXs, but not .LIBs.
Zvonko
Then is there a way to convert the .lib file to another format? I really need to access the methods in it!
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.
wrong place