Re: Elevating via UAC in C++
- From: "Jochen Kalmbach [MVP]" <nospam-Jochen.Kalmbach@xxxxxxxxx>
- Date: Wed, 16 Jan 2008 19:20:29 +0100
Hi NickP!
I know that I can cause the UAC to be evoked for an entire process, but I would like to be able to display the UAC before I call a particular function in my code, is this possible? Or can you only elevate the entire application?
You can only elevate the whole process...
You you could "re-execute" your process with ShellExecute and "RunAs"... this will trigger the UAC Dialog... and starts your program again...
--
Greetings
Jochen
My blog about Win32 and .NET
http://blog.kalmbachnet.de/
.
- Follow-Ups:
- Re: Elevating via UAC in C++
- From: NickP
- Re: Elevating via UAC in C++
- References:
- Elevating via UAC in C++
- From: NickP
- Elevating via UAC in C++
- Prev by Date: Re: Throwing from DLL causes heap corruption
- Next by Date: Re: Still confused why working set larger than virtual memory
- Previous by thread: Elevating via UAC in C++
- Next by thread: Re: Elevating via UAC in C++
- Index(es):
Relevant Pages
|