Question: I am currently performing maintenance on all kinds of obsolete applications created with Borland C Builder 6. A lot of these applications use a Package to interface to windows drivers. I can update the code of the .bpk easily by just minor changes to the source and linking in a `.a` or `lib` provided by a third party but it seems that the Package only supports code or `.bpi` libraries. Any ideas how to link in the libraries into the package?

Answer: 
You can add this lines in a .cpp file in your package project.

```
#ifdef __MACH__
#pragma comment(lib, "mylib.a")
#endif
#ifdef __WIN32__
#pragma comment(lib, "mylib.lib")
#endif

```
Linking in a Library can be done by selecting Project/Add to Project and adding the library than needs to be linked to the project.