C++ Standards, Extensions, and Interop


How to add .lib file to a .dll project in Visual Studio 2005.


Hi Developers,
I am creating a .dll project where i needs to include the .lib files, which are being generated from a different VS2005 solutions. Below are my queries.
1. Where to place those .lib files in .dll project ?
2. What are the linkers option setting i need to do for that in .dll project ?
3. Any code changes are required for adding those .lib like (#pragma etc.) in .dll project ?
Thanks,
Ananda.
understand the requirement thoroughly and ask questions like..what is the purpose of this dll ? what additional functionalities does this DLL require ?
Where to place those .lib files in .dll project ?
it would be in the Linker options (Project->Properties->Configuration Properties->Linker->Input and in "Additional Dependencies" , you should mention in ".lib" files ...if the .lib files reside in another directory .make sure you give the relative
path to these directories.
Any code changes are required for adding those .lib
you can either use #pragma to import an ".lib" file or go for the step that i mentioned above, use any one option and stick to it through out the project.

Related Links

STL vector sizing question
Using Direct2D how would i fill a font with a gradient or radial brush?
Beginner c++ question--Bitwise enumerations
int i = 2; Is this the Assingment Operator here ?
How do you define a template class's constructor outside the class
MSVCRTD.lib(crtexew.obj) : error LNK2019: unresolved external symbol _WinMain#16 referenced in function ___tmainCRTStartup
How to use another variable from another Form in VisualC++
Accessing a member through a pointer
How to copy one char* array into another one?
definition of dllimport static data member not allowed
LockFile problem
mspdbsrv.exe consuming over 1.4GB
Visual c++, how to find a file in certain folder and print its name?
abstract classes in cpp
Convert float to String
LNK1104 error - DEBUG vs. RELEASE

Categories

MSDN
Using Forums
Visual Studio Languages
.NET Framework
BizTalk Server
Commerce Server
JScript and Scripting
Microsoft Robotics
Smart Device Development
SQL Server
Windows Embedded Compact
SQL Server (Pre-release)
Dynamics
Microsoft Research
Exchange Server
Unified Communications
Project
Microsoft Partner Center
Cortana
Parallel Computing in ...
Visual Studio Graphics...
Windows App Studio Beta
General Windows Deskto...
Windows Desktop Perfmo...
Windows Desktop Winsoc...
Message Analyzer
Hardware Development B...
General Office Develop...
Office 365 for Developers
Developing Apps for Sh...
SharePoint 2010 - Deve...
Azure Backup
Azure API Management
Azure CDN
Azure Batch
Azure Disk Encryption
Azure Analysis Services
Azure Database for Pos...
Publishing Apps for th...
Windows Workflow Found...
Team Foundation Server...
BizTalk Server General
Microsoft Live Labs Volta
Microsoft Translator U...
Partnering with Microsoft
Microsoft Robotics - D...
Microsoft Robotics - H...
SQL Server Reporting S...
.NET Framework inside ...
SQL Server Replication
SQL Server High Availa...
Standard 2009: Misc
Standard 7: Tools
Windows Embedded Compa...
SQL Server 2012 PowerP...
SQL Server 2012 SQL To...
Windows Forms Sample A...
Windows Server 2008 Ap...
Windows Live General: ...
Dynamics 365 for Custo...
MSDN Subscriptions Fee...
Orchard - Help and Sup...
Script Junkie Discussion
App Linking
Developing for the Mob...
Microsoft Unified Comm...
Performance Profiling ...
Game Development with ...
Surface Application De...
Windows Performance To...
Retired SharePoint Col...
.NET Framework 4 Appli...
.NET Framework 4: Wind...
Architecture Events
ASMX Web Services and ...
Azure Startups
AppFabric Caching
Charts & Reports in th...
Commerce Server 2002 a...
(Retired) Exchange Pre...
Git, Mercurial and Dro...
Innovate on Office
Managed Extensibility ...
Monitor, Alert and Aut...
Office Development wit...
Office Live Small Busi...
Performance Counters f...
Regular Expressions
POS for .NET
Server Core Developers
Sharepoint Development...
SQL Server 2014 Integr...
Visual C# Express Edition
Visual C++ 2008 (Pre-r...
Visual Studio Async CTP
Visual Studio 2008 Exp...
Visual Studio Class De...
Visual Studio Database...
Visual Studio Performa...
Visual Studio Online "...
Windows Live Alerts De...
Working with Data in W...
Building Windows Store...
Expression Blend for W...
XML in Visual Studio 2...
XML in Windows (MSXML ...
Reporting
Microsoft Partner Cent...
Microsoft R Server
Microsoft Graph

Resources

Encrypt Message



code
soft
python
ios
c
html
jquery
cloud
mobile