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. [ask for]The way for Solving "Microsoft Visual C++ Runtime Library" Error.

[ask for]The way for Solving "Microsoft Visual C++ Runtime Library" Error.

Scheduled Pinned Locked Moved C / C++ / MFC
c++helpannouncementcollaborationquestion
8 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.
  • O Offline
    O Offline
    onlysaint
    wrote on last edited by
    #1

    When I excute the developing program in VC6.0 debugging enviroment,the program run successfully.But when I excute the program of release version alone,appear the error infomation below: microsoft Visual C++Runtime Library Runtime Error! Program: C:\Progra.... This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. However,the program of previous release version excute successfully.why? I need your help and suggestion,thanks.

    R S 2 Replies Last reply
    0
    • O onlysaint

      When I excute the developing program in VC6.0 debugging enviroment,the program run successfully.But when I excute the program of release version alone,appear the error infomation below: microsoft Visual C++Runtime Library Runtime Error! Program: C:\Progra.... This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. However,the program of previous release version excute successfully.why? I need your help and suggestion,thanks.

      R Offline
      R Offline
      Rajesh R Subramanian
      wrote on last edited by
      #2

      onlysaint wrote:

      When I excute the developing program in VC6.0 debugging enviroment,the program run successfully. But when I excute the program of release version ... microsoft Visual C++Runtime Library

      Hi, Please take a look at this article: www.flounder.com/debug_release.htm[^]

      “Follow your bliss.” – Joseph Campbell

      O 1 Reply Last reply
      0
      • R Rajesh R Subramanian

        onlysaint wrote:

        When I excute the developing program in VC6.0 debugging enviroment,the program run successfully. But when I excute the program of release version ... microsoft Visual C++Runtime Library

        Hi, Please take a look at this article: www.flounder.com/debug_release.htm[^]

        “Follow your bliss.” – Joseph Campbell

        O Offline
        O Offline
        onlysaint
        wrote on last edited by
        #3

        thanks for your suggestion,I hope some realistic operations to solve my question.

        1 Reply Last reply
        0
        • O onlysaint

          When I excute the developing program in VC6.0 debugging enviroment,the program run successfully.But when I excute the program of release version alone,appear the error infomation below: microsoft Visual C++Runtime Library Runtime Error! Program: C:\Progra.... This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. However,the program of previous release version excute successfully.why? I need your help and suggestion,thanks.

          S Offline
          S Offline
          Stephen Hewitt
          wrote on last edited by
          #4

          Firstly, both the debug builds and the release builds should be built with debug information. Some people erroneously believe that only release debug builds can be built with debugging information, but this simply isn't the case. Assuming you've got a release build with symbol files then proceed as you always would; break into the application with a debugger when the fault occurs and get a stack trace.

          Steve

          modified on Tuesday, March 2, 2010 8:30 PM

          R O 2 Replies Last reply
          0
          • S Stephen Hewitt

            Firstly, both the debug builds and the release builds should be built with debug information. Some people erroneously believe that only release debug builds can be built with debugging information, but this simply isn't the case. Assuming you've got a release build with symbol files then proceed as you always would; break into the application with a debugger when the fault occurs and get a stack trace.

            Steve

            modified on Tuesday, March 2, 2010 8:30 PM

            R Offline
            R Offline
            Rajesh R Subramanian
            wrote on last edited by
            #5

            Stephen Hewitt wrote:

            Some people erroneously believe that only release builds can be built with debugging information, but this simply isn't the case.

            Umm... Surely, you wanted to say 'debug builds' instead?

            “Follow your bliss.” – Joseph Campbell

            S 1 Reply Last reply
            0
            • S Stephen Hewitt

              Firstly, both the debug builds and the release builds should be built with debug information. Some people erroneously believe that only release debug builds can be built with debugging information, but this simply isn't the case. Assuming you've got a release build with symbol files then proceed as you always would; break into the application with a debugger when the fault occurs and get a stack trace.

              Steve

              modified on Tuesday, March 2, 2010 8:30 PM

              O Offline
              O Offline
              onlysaint
              wrote on last edited by
              #6

              Could you give me some advices to solving the problem,thanks very much!

              S 1 Reply Last reply
              0
              • R Rajesh R Subramanian

                Stephen Hewitt wrote:

                Some people erroneously believe that only release builds can be built with debugging information, but this simply isn't the case.

                Umm... Surely, you wanted to say 'debug builds' instead?

                “Follow your bliss.” – Joseph Campbell

                S Offline
                S Offline
                Stephen Hewitt
                wrote on last edited by
                #7

                Yeah, that's what I meant.

                Steve

                1 Reply Last reply
                0
                • O onlysaint

                  Could you give me some advices to solving the problem,thanks very much!

                  S Offline
                  S Offline
                  Stephen Hewitt
                  wrote on last edited by
                  #8

                  I thought I did. I'll reiterate: Firstly ensure that the release build is built with debugging information. Then run the program under a debugger, break execution when the problem occurs and get a stack trace. Pick the thread that's displaying the runtime error message. Which part of this are you having problems with?

                  Steve

                  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