Does anyone have an example of how to use CreateProcessAsUser in Delphi? I'm using Delphi 2009, not the .NET Delphi.
A:
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.
Andreas Rejbrand
2010-04-30 16:34:46
+1
A:
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.
Mohammed Nasman
2010-04-30 18:02:20