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 to resolve Run time Error ?

How to resolve Run time Error ?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestionannouncementcomdebugging
2 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.
  • Z Offline
    Z Offline
    zhang800605
    wrote on last edited by
    #1

    Here is a program, in the release version, there is a "Run time Error" appreared some times, I can get the module name and the address of the function, but the address is an Invalid value. It is not occured either in the debug version or release version with debug information, and it is not occured anytime. when I press the debug button, it will not show the debug enviorment but just shut down the program. It is an ActiveX program I wrote and the error occured when it is being created. How can I find out the reason of this bug and how to debug in this situation? Thank u!

    P 1 Reply Last reply
    0
    • Z zhang800605

      Here is a program, in the release version, there is a "Run time Error" appreared some times, I can get the module name and the address of the function, but the address is an Invalid value. It is not occured either in the debug version or release version with debug information, and it is not occured anytime. when I press the debug button, it will not show the debug enviorment but just shut down the program. It is an ActiveX program I wrote and the error occured when it is being created. How can I find out the reason of this bug and how to debug in this situation? Thank u!

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

      See "Debugging in Release Mode section" of this artcile[^].

      Prasad Notifier using ATL | Operator new[],delete[][^]

      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