Solved

Link Error

Posted on 2004-04-25
2
382 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

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…
What is C++ STL?: STL stands for Standard Template Library and is a part of standard C++ libraries. It contains many useful data structures (containers) and algorithms, which can spare you a lot of the time. Today we will look at the STL Vector. …
The goal of the video will be to teach the user the concept of local variables and scope. An example of a locally defined variable will be given as well as an explanation of what scope is in C++. The local variable and concept of scope will be relat…
The viewer will learn how to use the return statement in functions in C++. The video will also teach the user how to pass data to a function and have the function return data back for further processing.

813 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now