1 Attachment(s)
How to set the property for use the static lib file in VC2003
Hi,
Later i used trial version of vc2010 and created a static library using the below link. Its worked.
http://www.codeproject.com/Articles/...amic-Libraries
But now I'm using VC2003.Details as follows,
Quote:
Microsoft Development enviroinment 2003 Version 7.1.3088
CopyRight @ 1987-2002 Microsoft Corporation. All Rights Reserved.
Microsoft .Net Framework 1.1 Version 1.1.4322
CopyRight @ 1998-2002 Microsoft Corporation. All Rights Reserved.
I used the same procedure & created the Static lib.
but couldn't use this lib file in my main project.B'cos the project's property window doesn't have the
Quote:
Common Properties -> Framework & References
Couldn't find.
Here with i'm attached you missed property in VC2003. Kindly find the attachment.
How can i set this property?
Is any other way to use static lib in main project (application)?
Re: How to set the property for use the static lib file in VC2003
Not sure I'm following the question, but to use a .lib, just add it to the project.
Re: How to set the property for use the static lib file in VC2003
I was created the static library(Named MyLib.lib) & added the new project(Calculator) from
that solution. I was added the MyLib.h & MyLib.lib file in the Calculator project & also copied
the particular location.
Now, How to set the Solution's property & Project's Property( Calculator).
I find out the Common Properties. Just I right clicked the Solution & Clicked
properties. But its totally different from VC2010.
Pls clear me.
2 Attachment(s)
Re: How to set the property for use the static lib file in VC2003
Quote:
Originally Posted by
saraswathisrinath
I find out the Common Properties. Just I right clicked the Solution & Clicked
properties. But its totally different from VC2010.
Pls clear me.
Yes, VC.NET2003 is different from VC2010. So forget about VC2010 and Common Properties and explain what your real problem is.
My understanding is that you are to make some custom static library be globally accessible. This is done by Tools\Options\Projects\VC++ Directories\Library files. Then you add linker additional dependency to Project Settings.
1 Attachment(s)
Re: How to set the property for use the static lib file in VC2003
In case the library is specific to a single project only, Additional Library Directories for the Project Settings could be explicitly specified instead of modifying global VC++ Directories settings.