I installed the platform SDK and I now see the CreateProcessWithLogonW in the newer winbase.h, however I still get the unknown procedure error when I try to use it? Is there a trick to updating the...
Type: Posts; User: daddio
I installed the platform SDK and I now see the CreateProcessWithLogonW in the newer winbase.h, however I still get the unknown procedure error when I try to use it? Is there a trick to updating the...
Dude,
I don't have the CreateProcessWithLogonW function!? I'm using Visual Studio 6/Service pack 5. Do you know where I can get this?
CMG
OK,
LogonUser is returning "a required privilege is not held by the client"
CMG
Damn, I still can get this think working. Here is a sniipet of the code:
PHANDLE thandle;
HANDLE prochandle;
HANDLE threadhandle;
STARTUPINFO StartInf;
StartInf.cb=1000;...
Hahah looks like it was just a syntax error. my bad :)
OK so I'm trying to use CreateProcessAsUser and LogonUser but I'm having problems with the Process_Information and StartupInfo structs that CreateProcessAsUser uses.
I've included Winbase.h and...
This a win2k problem, but because its a console app I thought I'd post here as well.
I'm having trouble figuring out how to respond to a system prompt in a console application.
I need to run a...
I'm having trouble figuring out how to respond to a system prompt in a console application.
I need to run a setup.exe on users PCs under the admin context.
If I do something like:...