How can I make executeShell ask for Admin Elevation?

Marcone marcone at email.com
Sun Jul 12 12:57:23 UTC 2020


On Sunday, 12 July 2020 at 02:10:11 UTC, Marcone wrote:
> I don't want start program with admin elevation, but ask user 
> for admin permission when some function is called.

How can I get return code ans stdout of this code:

ShellExecute(null, "runas", "cmd", "/c netsh winhttp set proxy 
127.0.0.1:1234" , null, SW_HIDE);


More information about the Digitalmars-d-learn mailing list