Solved

CreateProcessWithLogonW compile & link error

Posted on 2004-04-19
2
576 Views
Last Modified: 2010-08-05
I have a program vritten in VC++ 6.0 SP5 that uses the CreateProcessWithLogonW function.
Unicode libraries are installed, UNICODE and _WIN32_WINNT=0x0500 are defined but the compiler cannot find the definition for the function. If I supply my own prototype it compiles ok but cannot link.
I've included advapi32.lib to no avail.

atex.obj : error LNK2001: unresolved external symbol _CreateProcessWithLogonW

Any clues?
Regards
Peter


0
Comment
Question by:peakpeak
2 Comments
 
LVL 8

Accepted Solution

by:
_corey_ earned 50 total points
ID: 10860172
It looks like you need to downoad the Platform SDK.  http://www.microsoft.com/msdownload/platformsdk/sdkupdate/default.htm?p=/msdownload/platformsdk/sdkupdate/home.htm is where you would download it from, but the site seems to be having a few problems at the moment.
0
 
LVL 28

Author Comment

by:peakpeak
ID: 10860234
Ouch, I already had it, just included the path in Preprocessor & lib. Working,
Thanks
Peter
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Many modern programming languages support the concept of a property -- a class member that combines characteristics of both a data member and a method.  These are sometimes called "smart fields" because you can add logic that is applied automaticall…
Container Orchestration platforms empower organizations to scale their apps at an exceptional rate. This is the reason numerous innovation-driven companies are moving apps to an appropriated datacenter wide platform that empowers them to scale at a …
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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

14 Experts available now in Live!

Get 1:1 Help Now