I'm trying to call CreateProcessWithLogonW however it says error C2065 CreateProcessWithLogonW. I'm trying to create a mfc app in vc6.0. I can use CreateProcess and CreateProcessAsUser why can't I use the other? Including windows.h doesn't help either.
Windows NT/2000: Requires Windows 2000.
Windows 95/98: Unsupported.
Windows CE: Unsupported.
Header: Declared in winbase.h.
Import Library: Use advapi32.lib.
Visual C++ 6.0 was released about a year and a half before Windows 2000, thus the "new functions" were not present in the headers and libs. You can update your Platform SDK at
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.