It depends - I can only assume that you don't have the source code for the library. You can try, if you are really desparate, the following:
Export object files from the lib file.
disassemble trying one of the tools from Fee Disassemblers
] that seems to fit the requirements.
alter embedded library references, and assemble and rebuid your library.
Will it work? I haven't the faintest idea ...
Another approach would be to export the functionality from your VS2002 library as a dll with a flat c - not c++ api.
Best of luck