Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Use Manifest to identifies the privilege level.

Use Manifest to identifies the privilege level.

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    aangerma
    wrote on last edited by
    #1

    Hello, I have a problam : my program is work well at windows xp but not at windows 7 (I'm opening a file to write and read). I created a manifest with: I added the manifest to the project by: Properties->Manifest Tool->Input and Output and adding the name of the manifest file under Additional manifest files. (I followed the MSDN instructions "Create and Embed an Application Manifest (UAC)") but its don't work , does anyone can halp me with this? thanks

    K 1 Reply Last reply
    0
    • A aangerma

      Hello, I have a problam : my program is work well at windows xp but not at windows 7 (I'm opening a file to write and read). I created a manifest with: I added the manifest to the project by: Properties->Manifest Tool->Input and Output and adding the name of the manifest file under Additional manifest files. (I followed the MSDN instructions "Create and Embed an Application Manifest (UAC)") but its don't work , does anyone can halp me with this? thanks

      K Offline
      K Offline
      KarstenK
      wrote on last edited by
      #2

      Project settings -> Linker -> UAC-Level. Better is writing your file to the user dir. Remember: you cant access the dir that you dont own. :-O

      Press F1 for help or google it. Greetings from Germany

      A 1 Reply Last reply
      0
      • K KarstenK

        Project settings -> Linker -> UAC-Level. Better is writing your file to the user dir. Remember: you cant access the dir that you dont own. :-O

        Press F1 for help or google it. Greetings from Germany

        A Offline
        A Offline
        aangerma
        wrote on last edited by
        #3

        Thank you, it's work wall this way, can you give me more detail about "Better is writing your file to the user dir. Remember: you cant access the dir that you dont own" I'm a new programer. thanks again

        K 1 Reply Last reply
        0
        • A aangerma

          Thank you, it's work wall this way, can you give me more detail about "Better is writing your file to the user dir. Remember: you cant access the dir that you dont own" I'm a new programer. thanks again

          K Offline
          K Offline
          KarstenK
          wrote on last edited by
          #4

          I found an article from the legendary Mark Russinovich: http://technet.microsoft.com/en-us/magazine/2007.06.uac.aspx which is really worth reading and understanding. Believe me investing one or two hours to understand it is good invested time. You wont regret it, thats how Windows works. Or this one http://www.codeproject.com/KB/vista-security/UAC\_\_The\_Definitive\_Guide.aspx in which I found the link.

          Press F1 for help or google it. Greetings from Germany

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups