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. Problem in executing Release version of code

Problem in executing Release version of code

Scheduled Pinned Locked Moved C / C++ / MFC
helpannouncementcsharpc++visual-studio
4 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.
  • J Offline
    J Offline
    jossion
    wrote on last edited by
    #1

    I have an MFC application with two threads built in Visual Studio 6.0. The debug version is running fine. But the Release version is giving an error. Access violation in OxC000005(NTDLL.DLL):Access Denied. Is this a problem which has arised due to the build settings or can it be due to the code??

    T A 2 Replies Last reply
    0
    • J jossion

      I have an MFC application with two threads built in Visual Studio 6.0. The debug version is running fine. But the Release version is giving an error. Access violation in OxC000005(NTDLL.DLL):Access Denied. Is this a problem which has arised due to the build settings or can it be due to the code??

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      Surviving the Release[^] is certainly the best article I read over here about such problems arising when migrating to Release mode compilations...


      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      J 1 Reply Last reply
      0
      • J jossion

        I have an MFC application with two threads built in Visual Studio 6.0. The debug version is running fine. But the Release version is giving an error. Access violation in OxC000005(NTDLL.DLL):Access Denied. Is this a problem which has arised due to the build settings or can it be due to the code??

        A Offline
        A Offline
        Alexandre GRANVAUD
        wrote on last edited by
        #3

        the usual error is an uninitialized variable or pointer (NULL)

        1 Reply Last reply
        0
        • T toxcct

          Surviving the Release[^] is certainly the best article I read over here about such problems arising when migrating to Release mode compilations...


          [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

          J Offline
          J Offline
          jossion
          wrote on last edited by
          #4

          Thanks a lot for the good link

          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