问题
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