Click here to Skip to main content
15,860,859 members
Articles / Desktop Programming / MFC
Tip/Trick

View the current library link order in a VC project

Rate me:
Please Sign up or sign in to vote.
4.83/5 (6 votes)
29 Jun 2011CPOL 23.2K   1   3
Shows how to view the current library link order in a VC project
To view the current library link order in VC++ 6.0 (!! please still use it?), follow these steps:

  1. On the Project menu, click Settings.
  2. In the Settings For view of the Project Settings dialog box, click to select the project configuration that is getting the link errors.
  3. On the Link tab, type /verbose:lib in the Project Options box.
  4. Rebuild your project. The libraries will be listed in the output window during the linking process.


For Visual Studio version 2005 (or more?), follow these steps:
  1. Open project properties
  2. Select Linker->CommandLine under Configuration Properties
  3. In the Addition options text box, type /verbose:lib

One benefit of using this /verbose:lib command is that you will also be able to see the MFC libraries that are linked during compile time in your MFC project.

License

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


Written By
Technical Lead Kotha Technologies
Bangladesh Bangladesh
If you are not in - you are out !
- Chapter 1

Comments and Discussions

 
GeneralReason for my vote of 4 Usefull tip Pin
mimsdev28-Jul-11 0:55
mimsdev28-Jul-11 0:55 
GeneralRe: If it's useful then why vote 4 and not 5 :S? Pin
Mukit, Ataul28-Jul-11 20:28
Mukit, Ataul28-Jul-11 20:28 
GeneralReason for my vote of 5 very usefull Pin
wgwy4-Jul-11 16:32
wgwy4-Jul-11 16:32 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.