CreateProcessWithLogonW
CreateProcessWithLogonW
Neat routine that still is missing from WinAPI.Windows.pas.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx
Neat routine that still is missing from WinAPI.Windows.pas.
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx
http://msdn.microsoft.com/en-us/library/windows/desktop/ms682431(v=vs.85).aspx
Scroll down and read the comments. Maybe that's a reason why it's not part of Windows.pas
ReplyDeleteSome mayhem of this routine explained (in german): http://kay-bruns.de/wp/2008/06/23/schlimme-fehler-in-createprocesswithlogonw/
It saves me physically visiting a few hundred PCs, and seems to work well for me.
ReplyDeleteLars Fosdal
ReplyDeleteAnd lets you live dangerously? ;)
It's a tool. All tools are potentially dangerous.
ReplyDeleteLars Fosdal
ReplyDeleteIndeed they are. Some more than others. Like the "with" clause. :)
"with" is scaffolding. Some do scaffolding well, others do it shoddily. Not sure what kills more people - tools or scaffolding ? ;)
ReplyDelete