Re: Registry Access Problem
From: Tim (Tim_at_NoSpam)
Date: 06/20/04
- Next message: Jonathan Wood: "Re: Custom Window Memory Leaks"
- Previous message: Nikolaos D. Bougalis: "Re: rather simple question about CWnd"
- In reply to: atul: "Registry Access Problem"
- Next in thread: Alexander Grigoriev: "Re: Registry Access Problem"
- Reply: Alexander Grigoriev: "Re: Registry Access Problem"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 20 Jun 2004 12:32:21 +1200
As per Dave's comments.
If you have system wide settings you need to establish that are constant for
the life of the system, then do so during software installation.
If you have settings that need to be common to all but able to be set by all
then reconsider your use of the registry or during setup create the
apporpriate key in the appropriate place and set permissions apppropriately.
Why all this? It is highly undesireable (IE really bad design) for your
application to require Admin priviledges - this restricts your users to
administrators and so opens the door wider to virus damage. An end user
application should always be able to be run by an end user account, not an
administrator. Expect some time soon Windows to refuse to run your
application regardless if it is not an Administration Specific program IE
one that justifies requiring Admin access.
- Tim
"atul" <a_fund@yahoo.com> wrote in message
news:cc80ab6.0406190418.698a8bd3@posting.google.com...
> Hello
> i am doing one program which stores and reterive values from the
> registry. It works fine when i logged in as a administrator for
> windows 2000 OS. But it's doesn't work when user doesn't have
> administrative rights.
> my question is how to get administrative rights through
> programmatically? how to access registry coz registry access is not
> available it's a read only.
>
> Please help me
>
>
>
>
>
> Regards
> Atul
- Next message: Jonathan Wood: "Re: Custom Window Memory Leaks"
- Previous message: Nikolaos D. Bougalis: "Re: rather simple question about CWnd"
- In reply to: atul: "Registry Access Problem"
- Next in thread: Alexander Grigoriev: "Re: Registry Access Problem"
- Reply: Alexander Grigoriev: "Re: Registry Access Problem"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
|