Use must add the lib to the linker settings in that project. Dont ferget to add the path of the libs to the lib path.
And you need to include the headers in the project to have the prototypes of the used functions.
I personally like
#pragma comment but dont know if Borland is supporting it.