how to add a library into a new library project in Visual Studio c\c++

I know how to add a dll or static library into my project but recently i have come to a situation that i need to add a dll library into my new dll/static library project (i have NOT decided yet:)) and i cannot follow the same way i did with "ordinary" prjects like properties->c\c++->general->additional....but i don`t see any LINK category in properties?!. Can you please help me find that "LINK":) or show me how to do that in another way? I am working with c/c++ by the way:)

EDIT: i am including my lib but can`t link it and show which lib i need to use like Link->input .... my.lib
Abdurasul YakubovAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sarabandeCommented:
a static library is nothing but a bunch of object modules from c or c++ sources. that means the linker is not involved but only the compiler. hence, there is no linker input required for such a project and you wouldn't get errors because of unresolved externals beside you would use the library in an application or dll project.

Sara
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
phoffric\Commented:
To help clarify your problem, could you elaborate a little on the problems you have regarding your remark:
>> cannot follow the same way i did with "ordinary" prjects like properties->c\c++->general->additional
0
sarabandeCommented:
could you elaborate a little on the problems you have regarding your remark:
>> cannot follow the same way i did with "ordinary" prjects like properties->c\c++->general->additional

perhaps i can help to clarify this remark. 'ordinary' projects like application projects or dll projects do have a 'linker\input' node in the configuration properties. in the properties page of linker\input there is an option 'Additional Dependencies' where you can define a list of input modules like libraries or object modules which were used to resolve needed external symbols such as functions provided by visual c++ or 3rd-party dll's in the build (link) process.

for a (static) library project the whole linker node is not existing because the functions in a static library are not linked yet and there is no check on unresolved externals as long as the library wasn't used by a project with linker section. even then, only the used functions of a library are checked.

Sara
0
sarabandeCommented:
Question was answered.

Sara
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Visual Studio

From novice to tech pro — start learning today.