Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

linker

Status
Not open for further replies.

cppprogrammer

Programmer
Dec 18, 2007
9
Hello!

There is a comment in a example that says:
// Need to link with Ws2_32.lib, Mswsock.lib, and Advapi32.lib

How do i set linker options in Visual C++?

Thank you.
 
It depends on the version you're using.
Basically you get into the Project Settings, go to the Link tab, find the field of libraries to link with, then append those libraries to the list.
 
If you're using 2003 onwards, the Settings menu option has been replaced by Properties. Select the project from the tree then right click and select properties.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top