Link to home
Start Free TrialLog in
Avatar of peakpeak
peakpeakFlag for Sweden

asked on

CreateProcessWithLogonW compile & link error

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


ASKER CERTIFIED SOLUTION
Avatar of _corey_
_corey_

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of peakpeak

ASKER

Ouch, I already had it, just included the path in Preprocessor & lib. Working,
Thanks
Peter