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. Annoying problem with VISTA and Win7 and above?

Annoying problem with VISTA and Win7 and above?

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpquestion
3 Posts 3 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.
  • K Offline
    K Offline
    Kushagra Tiwari
    wrote on last edited by
    #1

    Hello, I have written one executable in C++ which runs from startup of 'All Users' in user's account. In order to give read and write permissions to the place where this executable reads and writes into a file and creates logs we have a service which gives the particular folder the ACL permissions. Using this concept even restricted user never faces any problem while trying to do any of its designed functionality till XP. But, in some cases starting from VISTA we get the executable visible in task manager but it does not do any thing and also not even makes the log. I need to find why this happens. If any one knows please throw some light on this Regards, Kushagra

    L R 2 Replies Last reply
    0
    • K Kushagra Tiwari

      Hello, I have written one executable in C++ which runs from startup of 'All Users' in user's account. In order to give read and write permissions to the place where this executable reads and writes into a file and creates logs we have a service which gives the particular folder the ACL permissions. Using this concept even restricted user never faces any problem while trying to do any of its designed functionality till XP. But, in some cases starting from VISTA we get the executable visible in task manager but it does not do any thing and also not even makes the log. I need to find why this happens. If any one knows please throw some light on this Regards, Kushagra

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Kushagra Tiwari wrote:

      I need to find why this happens. If any one knows please throw some light on this

      Have you tried running your application under the debugger to see what is happening?

      1 Reply Last reply
      0
      • K Kushagra Tiwari

        Hello, I have written one executable in C++ which runs from startup of 'All Users' in user's account. In order to give read and write permissions to the place where this executable reads and writes into a file and creates logs we have a service which gives the particular folder the ACL permissions. Using this concept even restricted user never faces any problem while trying to do any of its designed functionality till XP. But, in some cases starting from VISTA we get the executable visible in task manager but it does not do any thing and also not even makes the log. I need to find why this happens. If any one knows please throw some light on this Regards, Kushagra

        R Offline
        R Offline
        Rolf Kristensen
        wrote on last edited by
        #3

        I can recommend the Standard User Analyzer tool included with the Application Compatibility Toolkit[^]. It is a kind of a debugger, that monitors all the calls the application does and verifies it doesn't break standard user priviledges. Btw. there is a standard directory for storing application settings and logs. See also SHGetFolderPath(NULL, CSIDL_COMMON_APPDATA,...)[^]

        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