How to get standard output from CreateProcessWithLogonW?

前端 未结 3 1315
遥遥无期
遥遥无期 2021-01-07 07:41

I am using the code from http://www.pinvoke.net/default.aspx/advapi32.createprocesswithlogonw. How do I get the output from the standard output as a string? Like the stuff t

3条回答
  •  梦谈多话
    2021-01-07 08:17

    This post solved it for me. Not the output part but that I got CreateProcessWithLogonW working.

    http://blogs.msdn.com/alejacma/archive/2007/12/20/how-to-call-createprocesswithlogonw-createprocessasuser-in-net.aspx

提交回复
热议问题