Delphi and CreateProcessAsUser example?

心不动则不痛 提交于 2019-12-07 14:20:18

问题


Does anyone have an example of how to use CreateProcessAsUser in Delphi? I'm using Delphi 2009, not the .NET Delphi.


回答1:


Look at CreateProcAsUser in JclMiscel unit from JCL library

You can use it as easier solution, or you on inspect the code to get how the original one works.




回答2:


Being a Win32 API function, CreateProcessAsUser works the same way in all languages.

Have you tried Google Code Search? One of the matches is this one.



来源:https://stackoverflow.com/questions/2746053/delphi-and-createprocessasuser-example

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!