Click here to Skip to main content
15,889,034 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionCreate Registry Entry in Vista ... Pin
Manjunath S4-May-07 22:33
Manjunath S4-May-07 22:33 
AnswerRe: Create Registry Entry in Vista ... Pin
prasad_som4-May-07 22:50
prasad_som4-May-07 22:50 
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S4-May-07 22:56
Manjunath S4-May-07 22:56 
AnswerRe: Create Registry Entry in Vista ... Pin
Sameer_Thakur4-May-07 23:03
Sameer_Thakur4-May-07 23:03 
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S4-May-07 23:21
Manjunath S4-May-07 23:21 
GeneralRe: Create Registry Entry in Vista ... Pin
Sameer_Thakur4-May-07 23:33
Sameer_Thakur4-May-07 23:33 
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S4-May-07 23:45
Manjunath S4-May-07 23:45 
GeneralRe: Create Registry Entry in Vista ... Pin
Sameer_Thakur5-May-07 0:00
Sameer_Thakur5-May-07 0:00 
In Vista there is a concept of User Account Control (UAC) by which it prevents any major changes in registry (though you are logged in as an Admin).
To enable registry changes, we need to provide higher privileges to the application.


To do this there is a tag in manifest.xml …

<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel
level="highestAvailable"
uiAccess="false"/>
</requestedPrivileges>
</security>
</trustInfo>

Here we are granting the “highestAvailable” privilege to the application/DLL which ultimately grants the permission to ur application/DLL to access (Read/Write) registry.



Sameer Thakur
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S5-May-07 0:14
Manjunath S5-May-07 0:14 
AnswerRe: Create Registry Entry in Vista ... Pin
Michael Dunn5-May-07 7:06
sitebuilderMichael Dunn5-May-07 7:06 
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S6-May-07 20:05
Manjunath S6-May-07 20:05 
GeneralRe: Create Registry Entry in Vista ... Pin
Michael Dunn6-May-07 20:14
sitebuilderMichael Dunn6-May-07 20:14 
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S6-May-07 20:44
Manjunath S6-May-07 20:44 
AnswerRe: Create Registry Entry in Vista ... Pin
Paresh Chitte6-May-07 18:40
Paresh Chitte6-May-07 18:40 
GeneralRe: Create Registry Entry in Vista ... Pin
Manjunath S6-May-07 21:33
Manjunath S6-May-07 21:33 
QuestionProblem in Enable and disable ToolBar Pin
mohindar_kks4-May-07 21:42
mohindar_kks4-May-07 21:42 
AnswerRe: Problem in Enable and disable ToolBar Pin
prasad_som4-May-07 22:55
prasad_som4-May-07 22:55 
GeneralRe: Problem in Enable and disable ToolBar Pin
mohindar_kks4-May-07 23:38
mohindar_kks4-May-07 23:38 
AnswerRe: Problem in Enable and disable ToolBar Pin
Sameer_Thakur4-May-07 23:51
Sameer_Thakur4-May-07 23:51 
GeneralRe: Problem in Enable and disable ToolBar Pin
mohindar_kks6-May-07 19:34
mohindar_kks6-May-07 19:34 
GeneralRe: Problem in Enable and disable ToolBar Pin
Sameer_Thakur7-May-07 3:29
Sameer_Thakur7-May-07 3:29 
AnswerRe: Problem in Enable and disable ToolBar Pin
Michael Dunn5-May-07 7:08
sitebuilderMichael Dunn5-May-07 7:08 
QuestionMFC future Pin
Ahmed Charfeddine4-May-07 21:01
Ahmed Charfeddine4-May-07 21:01 
AnswerRe: MFC future Pin
Rajesh R Subramanian4-May-07 21:44
professionalRajesh R Subramanian4-May-07 21:44 
GeneralRe: MFC future Pin
Ahmed Charfeddine5-May-07 0:26
Ahmed Charfeddine5-May-07 0:26 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.