Click here to Skip to main content
15,905,563 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionGetting rid of security questions when accessing registry Vista, Win 7 [modified] Pin
tibiz8-Mar-10 15:03
tibiz8-Mar-10 15:03 
AnswerRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
Chris Losinger8-Mar-10 16:02
professionalChris Losinger8-Mar-10 16:02 
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
tibiz8-Mar-10 23:34
tibiz8-Mar-10 23:34 
AnswerRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
Iain Clarke, Warrior Programmer8-Mar-10 21:47
Iain Clarke, Warrior Programmer8-Mar-10 21:47 
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
tibiz8-Mar-10 23:31
tibiz8-Mar-10 23:31 
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
Mohan Ramachandra9-Mar-10 1:21
Mohan Ramachandra9-Mar-10 1:21 
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
tibiz9-Mar-10 1:43
tibiz9-Mar-10 1:43 
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
Mohan Ramachandra9-Mar-10 2:18
Mohan Ramachandra9-Mar-10 2:18 
If application is running under vista or winows 7 it require manifiest to be added.
Check out the link [^]

A sample Manifest file
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<assembly xmlns="urn:schemas-microsoft-com:asm.v1" manifestVersion="1.0"> 
<assemblyIdentity 
    version="1.0.0.0" 
    processorArchitecture="X86" 
    name="Microsoft.Winweb.appname"
    type="win32" 
/> 
<description>Your app description here</description> 
<dependency> 
    <dependentAssembly> 
        <assemblyIdentity 
            type="win32" 
            name="Microsoft.Windows.Common-Controls" 
            version="6.0.0.0" 
            processorArchitecture="X86" 
            publicKeyToken="6595b64144ccf1df" 
            language="*" 
        /> 
    </dependentAssembly> 
</dependency>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v2">
    <security>
      <requestedPrivileges>
        <requestedExecutionLevel
          level="requireAdministrator"
          uiAccess="false"/>
        </requestedPrivileges>
       </security>
  </trustInfo> 
</assembly>

level="requireAdministrator" makes the application to be launched with administrative previlages.
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
tibiz9-Mar-10 8:50
tibiz9-Mar-10 8:50 
GeneralRe: Getting rid of security questions when accessing registry Vista, Win 7 Pin
Mohan Ramachandra9-Mar-10 17:59
Mohan Ramachandra9-Mar-10 17:59 
QuestionCan't compile any code with Dev C++. Pin
James_7228-Mar-10 11:31
James_7228-Mar-10 11:31 
AnswerRe: Can't compile any code with Dev C++. Pin
Luc Pattyn8-Mar-10 12:40
sitebuilderLuc Pattyn8-Mar-10 12:40 
AnswerRe: Can't compile any code with Dev C++. Pin
Herboren8-Mar-10 15:40
Herboren8-Mar-10 15:40 
QuestionInitializer lists, default constructors and references Pin
CString(0xcccccccc)8-Mar-10 8:52
CString(0xcccccccc)8-Mar-10 8:52 
AnswerRe: Initializer lists, default constructors and references Pin
Stuart Dootson8-Mar-10 9:01
professionalStuart Dootson8-Mar-10 9:01 
AnswerRe: Initializer lists, default constructors and references Pin
Graham Breach8-Mar-10 9:05
Graham Breach8-Mar-10 9:05 
GeneralRe: Initializer lists, default constructors and references Pin
CPallini8-Mar-10 9:23
mveCPallini8-Mar-10 9:23 
GeneralRe: Initializer lists, default constructors and references Pin
Tim Craig8-Mar-10 10:06
Tim Craig8-Mar-10 10:06 
GeneralRe: Initializer lists, default constructors and references Pin
Graham Breach8-Mar-10 10:19
Graham Breach8-Mar-10 10:19 
GeneralRe: Initializer lists, default constructors and references Pin
CPallini8-Mar-10 10:49
mveCPallini8-Mar-10 10:49 
GeneralRe: Initializer lists, default constructors and references Pin
Tim Craig8-Mar-10 13:53
Tim Craig8-Mar-10 13:53 
GeneralRe: Initializer lists, default constructors and references Pin
CString(0xcccccccc)8-Mar-10 9:30
CString(0xcccccccc)8-Mar-10 9:30 
AnswerRe: Initializer lists, default constructors and references [modified] Pin
Avi Berger8-Mar-10 9:27
Avi Berger8-Mar-10 9:27 
GeneralRe: Initializer lists, default constructors and references Pin
CString(0xcccccccc)8-Mar-10 9:40
CString(0xcccccccc)8-Mar-10 9:40 
GeneralRe: Initializer lists, default constructors and references Pin
Avi Berger8-Mar-10 10:08
Avi Berger8-Mar-10 10:08 

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.