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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. NTDLL.DLL write access

NTDLL.DLL write access

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestiondebuggingperformance
6 Posts 4 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.
  • C Offline
    C Offline
    Cintch
    wrote on last edited by
    #1

    I'm having a problem running my executable. The project has compiled and built successfully, but once I try to execute it, I receive the error message "The memory could not be written". If I debug, I receive an Unhandled Exception error, with Access Violation on NTDLL.DLL. Please help! How do I grant myself write access to this file? I am the administrator of my machine. Thanks! Cintia

    T 1 Reply Last reply
    0
    • C Cintch

      I'm having a problem running my executable. The project has compiled and built successfully, but once I try to execute it, I receive the error message "The memory could not be written". If I debug, I receive an Unhandled Exception error, with Access Violation on NTDLL.DLL. Please help! How do I grant myself write access to this file? I am the administrator of my machine. Thanks! Cintia

      T Offline
      T Offline
      Tomasz Sowinski
      wrote on last edited by
      #2

      Cintch wrote: How do I grant myself write access to this file? You have a problem with invalid/uninitialized/dangling pointer, not with 'access to ntdll.dll'. Check the call stack when excetpion happens - you should see where's the error. Tomasz Sowinski -- http://www.shooltz.com

      ** Putt knot yore thrust inn spel chequers. **

      J L 2 Replies Last reply
      0
      • T Tomasz Sowinski

        Cintch wrote: How do I grant myself write access to this file? You have a problem with invalid/uninitialized/dangling pointer, not with 'access to ntdll.dll'. Check the call stack when excetpion happens - you should see where's the error. Tomasz Sowinski -- http://www.shooltz.com

        ** Putt knot yore thrust inn spel chequers. **

        J Offline
        J Offline
        Jon Hulatt
        wrote on last edited by
        #3

        Did you feel any temptation to be slightly malicious with that response? ;-) STL is a religeon. Enquiries to Reverend Christian Graus

        T 1 Reply Last reply
        0
        • J Jon Hulatt

          Did you feel any temptation to be slightly malicious with that response? ;-) STL is a religeon. Enquiries to Reverend Christian Graus

          T Offline
          T Offline
          Tomasz Sowinski
          wrote on last edited by
          #4

          Jon Hulatt wrote: Did you feel any temptation to be slightly malicious with that response? I did ;) Tomasz Sowinski -- http://www.shooltz.com

          ** Putt knot yore thrust inn spel chequers. **

          1 Reply Last reply
          0
          • T Tomasz Sowinski

            Cintch wrote: How do I grant myself write access to this file? You have a problem with invalid/uninitialized/dangling pointer, not with 'access to ntdll.dll'. Check the call stack when excetpion happens - you should see where's the error. Tomasz Sowinski -- http://www.shooltz.com

            ** Putt knot yore thrust inn spel chequers. **

            L Offline
            L Offline
            lucy 0
            wrote on last edited by
            #5

            I had a similar problem when I ran a dialog application which OnPaint is done by OpenGL functions. The project compiles and runs well in Windows 2000, and terminate approperly. but when I ran it in Windows XP, when I close the application, after every object was destructed, I got this NTDLL.DLL write access unhandled exception error. If I debug it, the call stack is full of USER blah blah, and the code is all in assembly. Could you give me any clue? Thanks!

            T 1 Reply Last reply
            0
            • L lucy 0

              I had a similar problem when I ran a dialog application which OnPaint is done by OpenGL functions. The project compiles and runs well in Windows 2000, and terminate approperly. but when I ran it in Windows XP, when I close the application, after every object was destructed, I got this NTDLL.DLL write access unhandled exception error. If I debug it, the call stack is full of USER blah blah, and the code is all in assembly. Could you give me any clue? Thanks!

              T Offline
              T Offline
              Tomasz Sowinski
              wrote on last edited by
              #6

              lucy wrote: the call stack is full of USER blah blah, and the code is all in assembly. 1) examine *full* stack - below series of USER32 calls, you may find your code 2) try switching between threads using Debug/Threads menu option; there's a chance the crash happened in some background thread and stack doesn't reflect the right context. Tomasz Sowinski -- http://www.shooltz.com

              ** Putt knot yore thrust inn spel chequers. **

              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