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. Windows API
  4. Turn DEP off for Windows Mail

Turn DEP off for Windows Mail

Scheduled Pinned Locked Moved Windows API
c++helpannouncement
3 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.
  • D Offline
    D Offline
    dolly
    wrote on last edited by
    #1

    Hi Friends, I am developing a plug-in for Windows Mail (Vista) in ATL 7.1 (using Visual c++ 6.0). So Windows Vista DEP blocks it as older version of ATL are not DEP compatible. Now I have decided to turn the DEP off for Windows Mail using either my computer DEP properties OR SetProcessDEPPolicy Function (introduced in Vista SP1). while executing this function, I am getting error of "Access Denied", and similar message was prompted when I tried turning DEP off through my computer properties It seems, Windows Vista considers some programs like windows mail as essential and critical ones and so does NOT allow to turn DEP OFF for them But this way I am not able to run windows mail with my plugin attached. So kindly suggest some way by which I can find a way out either turn DEP off for win mail or some other alternative. Thanks a lot!

    dolly, N,IN

    P 1 Reply Last reply
    0
    • D dolly

      Hi Friends, I am developing a plug-in for Windows Mail (Vista) in ATL 7.1 (using Visual c++ 6.0). So Windows Vista DEP blocks it as older version of ATL are not DEP compatible. Now I have decided to turn the DEP off for Windows Mail using either my computer DEP properties OR SetProcessDEPPolicy Function (introduced in Vista SP1). while executing this function, I am getting error of "Access Denied", and similar message was prompted when I tried turning DEP off through my computer properties It seems, Windows Vista considers some programs like windows mail as essential and critical ones and so does NOT allow to turn DEP OFF for them But this way I am not able to run windows mail with my plugin attached. So kindly suggest some way by which I can find a way out either turn DEP off for win mail or some other alternative. Thanks a lot!

      dolly, N,IN

      P Offline
      P Offline
      Perspx
      wrote on last edited by
      #2

      dolly wrote:

      while executing this function, I am getting error of "Access Denied"

      Is the process that is trying to execute this function running with administrative privilages? Regards, --Perspx

      "The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia

      D 1 Reply Last reply
      0
      • P Perspx

        dolly wrote:

        while executing this function, I am getting error of "Access Denied"

        Is the process that is trying to execute this function running with administrative privilages? Regards, --Perspx

        "The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia

        D Offline
        D Offline
        dolly
        wrote on last edited by
        #3

        If I run Windows Mail as admin, it simple runs but does not show my plugin, i.e. the toolbars i have added through the plugin is not shown at all.

        dolly, N,IN

        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