Re: Vista - User Directory
- From: David Wilkinson <no-reply@xxxxxxxxxxxx>
- Date: Wed, 04 Nov 2009 13:34:57 -0500
DanB wrote:
And thanks David, the manifest looks very important so that the app has the appropriate privileges to access the 'not' VirtualStore.
Actually, it is the opposite. In order to have permission to write to the "forbidden places", you will need an "admin" manifest that will cause a UAC elevation prompt, which you almost certainly don't want (except in the installer). In your app, you should put a "non-admin" manifest that will cause writes to the forbidden places to fail. That way, you will find out if you try to do something in your app that you are not supposed to do. The VirtualStore is only intended for legacy applications that are not being updated. New work should avoid it.
--
David Wilkinson
Visual C++ MVP
.
- Follow-Ups:
- Re: Vista - User Directory
- From: DanB
- Re: Vista - User Directory
- References:
- Re: Vista - User Directory
- From: DanB
- Re: Vista - User Directory
- From: DanB
- Re: Vista - User Directory
- From: David Ching
- Re: Vista - User Directory
- From: Joseph M . Newcomer
- Re: Vista - User Directory
- From: DanB
- Re: Vista - User Directory
- Prev by Date: Re: FreeImage help
- Next by Date: Re: Vista - User Directory
- Previous by thread: Re: Vista - User Directory
- Next by thread: Re: Vista - User Directory
- Index(es):
Relevant Pages
|