3
votes

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

2

2 Answers

2
votes

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.

0
votes

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.