Hello,
.lib files are dynamically linked, so the code contained inside these files is usually minimal, compared to the DLL files that have to acompany the .lib files.
Usually when you get a .lib file, there's a header file (*.h) to go with it. You then add this to the top of your file:
#include <cool_new_library.h>
Replace < and > with quotes if the header file is in the local directory, of course.
As described in Borland's documentation, you may have to encapsulate the header inclusion with an extern c statement if you get "unresolved external symbol" errors:
extern "C" {
#include "cool_new_library.h"
};
This may also be of use to you:
http://www.geocities.com/foetsch/borlibs/
Hope this helps
Reputation Points: 2240
Solved Threads: 338
Vampirical Lurker
Offline 5,055 posts
since Apr 2006