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

Comments

  1. Scroll down and read the comments. Maybe that's a reason why it's not part of Windows.pas
    Some mayhem of this routine explained (in german): http://kay-bruns.de/wp/2008/06/23/schlimme-fehler-in-createprocesswithlogonw/

    ReplyDelete
  2. It saves me physically visiting a few hundred PCs, and seems to work well for me.

    ReplyDelete
  3. Lars Fosdal
    And lets you live dangerously? ;)

    ReplyDelete
  4. It's a tool. All tools are potentially dangerous.

    ReplyDelete
  5. Lars Fosdal
    Indeed they are. Some more than others. Like the "with" clause. :)

    ReplyDelete
  6. "with" is scaffolding.  Some do scaffolding well, others do it shoddily.  Not sure what kills more people - tools or scaffolding ? ;)

    ReplyDelete

Post a Comment