Hello Peter,
Tuesday, September 15, 2009, 1:24:26 PM, you wrote:
in order to protect from viruses and so now windows programs should be
split into two parts - one that doesn't need admin privileges and one
that needs them. as far as your actions doesn't need second part, you
are running first
Yes, I'm aware of that, but not the details, so thanks for the info.
Anyway, I quickly tested Regis's idea in C#, and it works as he said.
http://hpaste.org/fastcgi/hpaste.fcgi/view?id=9392#a9392
- When trying to create a folder in ProgramFiles, you get an access
denied exception, unless the
Hello Matthijs,
Thursday, September 10, 2009, 5:24:57 PM, you wrote:
- use windows API for requesting elevation during the process (ugly)
Why is this ugly? This seems like an elegant solution, to get privileges only
when you actually need them?
afaik you need to run special COM server with
Hello Regis,
Thursday, September 10, 2009, 6:05:19 PM, you wrote:
One last note as it may be confusing in previous message...I mention to use
windows API, but there is no API per-se that can elevate a process already
running. It takes to create another process which, at startup time, will