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. how can i forbid anyone else to change the time of the computer?

how can i forbid anyone else to change the time of the computer?

Scheduled Pinned Locked Moved C / C++ / MFC
questionc++
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.
  • L Offline
    L Offline
    lostangels
    wrote on last edited by
    #1

    i have a computer that used by several people and i don't want anybody else to change the date and time of the computer, how can i do this through VC++? thx.

    N L 2 Replies Last reply
    0
    • L lostangels

      i have a computer that used by several people and i don't want anybody else to change the date and time of the computer, how can i do this through VC++? thx.

      N Offline
      N Offline
      Nelek
      wrote on last edited by
      #2

      I dont know, but I can imagine it with a hook, detecting when the Dialog to change date and time of the computer is being called and closing it. Or saving the actual date and time in this moment and starting a time count somewhere. When that dialog is closed, asking for a password to save the changes, if password correct save changes, if not... restore the previously saved values + time offset. It is just an idea that came when i read you. Most probably there are much better ways to do it. Let us see what the masters say.

      Greetings. -------- M.D.V. If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about? Help me to understand what I'm saying, and I'll explain it better to you ;)

      1 Reply Last reply
      0
      • L lostangels

        i have a computer that used by several people and i don't want anybody else to change the date and time of the computer, how can i do this through VC++? thx.

        L Offline
        L Offline
        led mike
        wrote on last edited by
        #3

        Make a User account for each person and restrict their privileges. This is not a C++ answer, was it a C++ question? If not you are in the wrong forum

        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