Click here to Skip to main content
15,890,579 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
I have a VS solution set up as follows.

1. DLL
2. LIB

The DLL consumes the LIB, ie, I don't need to distribute the LIB, just the DLL. (Statically linked, I believe is the proper terminology. ?)

Now, I have another LIB, .h\.lib combo from a third party that I would like to add.

I would prefer if it a were part of my existing LIB, because, that's what it's doing, adding some missing functionality to my own LIB.

However, my attempts at doing so, resulted in a .LIB(mine) being produced in my output directory, meaning, I'd likely need to distribute it, etc,. (I don't want that.)

I've searched around, but, can't seem to find a way to do this, one method gave me the result above, I saw another method, using the add references dialog in VS, but, it wasn't well explained, and I'd rather not guess at it.

Anyways, I've searched, and can't find an answer, so I'm asking directly, can this be done, and how?
Posted
Updated 7-Jun-12 22:43pm
v2
Comments
Sandeep Mewara 8-Jun-12 4:50am    
5!

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900