CreateProcessWithLogonW compile & link error
Posted on 2004-04-19
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