C
chris
Hi!
I'm trying to start a process with different credentials. But I cannot even
compile my code as the compiler (VC++.NET) says "error C3861:
'CreateProcessWithLogonW': identifier not found, even with
argument-dependent lookup".
I have included the following headers etc, which I belive should be
sufficient:
#include "stdafx.h"
#define UNICODE
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <stdio.h>
#include <userenv.h>
#include <winbase.h>
Any idea what might be wrong?
Regards,
chris
I'm trying to start a process with different credentials. But I cannot even
compile my code as the compiler (VC++.NET) says "error C3861:
'CreateProcessWithLogonW': identifier not found, even with
argument-dependent lookup".
I have included the following headers etc, which I belive should be
sufficient:
#include "stdafx.h"
#define UNICODE
#define _WIN32_WINNT 0x0500
#include <windows.h>
#include <stdio.h>
#include <userenv.h>
#include <winbase.h>
Any idea what might be wrong?
Regards,
chris