Solved

Link Error

Posted on 2004-04-25
2
381 Views
Last Modified: 2007-12-19
I'm trying to compile the Winsock LSP example that came with the Microsoft SDK example, but I've run into a link error that I cannot overcome.  The error is:

error LNK2001: unresolved external symbol _WSCWriteProviderOrder@8

I've already added ole32.lib rpcrt4.lib and ws2_32.lib to the library modules list (Im using VC++ 6.0), but I still have the error.  What do I need to do to get this to compile?
0
Comment
Question by:lwinkenb
2 Comments
 
LVL 48

Accepted Solution

by:
AlexFM earned 125 total points
ID: 10910887
Add also Sporder.lib to the linker list.
0
 
LVL 5

Author Comment

by:lwinkenb
ID: 10912282
Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Unlike C#, C++ doesn't have native support for sealing classes (so they cannot be sub-classed). At the cost of a virtual base class pointer it is possible to implement a pseudo sealing mechanism The trick is to virtually inherit from a base class…
Often, when implementing a feature, you won't know how certain events should be handled at the point where they occur and you'd rather defer to the user of your function or class. For example, a XML parser will extract a tag from the source code, wh…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.

939 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question