Everything I've read about 'CreateProcess' from google searches seems to agree that 'CreateProcess' won't elevate a process.
I'm working on an application launcher (a util to allow the user to launch other applications). I had been using CreateProcess for this under XP. Also in Windows 7 64-bit I have the UAC turned off, so I wasn't aware of this issue until recently. I have a copy of Windows 7 64-bit running in a virtual machine and in it I have the UAC at the default settings. I tested my application in it with a utility that brings up a UAC prompt when launched through the Windows shell. What I'm confused about is that it *does* bring up the UAC prompt (in both admin and standard user accounts) when launched from my app using 'CreateProcess' (my app is not running as admin). Was CreateProcess recently updated by Microsoft to allow it to elevate a process? _______________________________________________ Delphi mailing list Delphi@elists.org http://lists.elists.org/cgi-bin/mailman/listinfo/delphi