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. program termination(very very urgent)

program termination(very very urgent)

Scheduled Pinned Locked Moved C / C++ / MFC
helpc++question
5 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.
  • S Offline
    S Offline
    swaapu
    wrote on last edited by
    #1

    HELLO!!!!! I am working on an MFC application. On execeting the program it is not giving any errors. But, on clicking on a the command button, it gives error message,"Run Time Error!! The program has requested runtime to terminate in an unusual way" What should i do, to remove it? I had not called abort anywhere in my program. Please help me. Thanx a lot

    C 1 Reply Last reply
    0
    • S swaapu

      HELLO!!!!! I am working on an MFC application. On execeting the program it is not giving any errors. But, on clicking on a the command button, it gives error message,"Run Time Error!! The program has requested runtime to terminate in an unusual way" What should i do, to remove it? I had not called abort anywhere in my program. Please help me. Thanx a lot

      C Offline
      C Offline
      Cedric Moonen
      wrote on last edited by
      #2

      It happens because an unexpected error occured in your program (it is a bug).

      kind_person wrote:

      What should i do, to remove it?

      That is really simple: remove the bug :). Without seing code, it is impossible to help you. Post the code where the problem occur (use the code tag to format the text correctly). Did you use the debugger also to see where your program crashes ? (Press F5 to start the debugger).

      S 1 Reply Last reply
      0
      • C Cedric Moonen

        It happens because an unexpected error occured in your program (it is a bug).

        kind_person wrote:

        What should i do, to remove it?

        That is really simple: remove the bug :). Without seing code, it is impossible to help you. Post the code where the problem occur (use the code tag to format the text correctly). Did you use the debugger also to see where your program crashes ? (Press F5 to start the debugger).

        S Offline
        S Offline
        swaapu
        wrote on last edited by
        #3

        Hello! When I debugged my program, it is giving the following message: "Unhandled exception in PracticeINI2XML.exe(KERNEL32.DLL): 0xe06d7363:Microsoft C++ Exception. " Also in the Output Window it is giving message: "no matching symbolic information found" against kernel32.dll and gdi32.dll. how to remove the bug now??

        K C 2 Replies Last reply
        0
        • S swaapu

          Hello! When I debugged my program, it is giving the following message: "Unhandled exception in PracticeINI2XML.exe(KERNEL32.DLL): 0xe06d7363:Microsoft C++ Exception. " Also in the Output Window it is giving message: "no matching symbolic information found" against kernel32.dll and gdi32.dll. how to remove the bug now??

          K Offline
          K Offline
          kakan
          wrote on last edited by
          #4

          Find and open the stack window in Visual Studio when the program has terminated. Follow the function calls on the stack until you find a function in your program. And there you can find the cause of the problem.

          1 Reply Last reply
          0
          • S swaapu

            Hello! When I debugged my program, it is giving the following message: "Unhandled exception in PracticeINI2XML.exe(KERNEL32.DLL): 0xe06d7363:Microsoft C++ Exception. " Also in the Output Window it is giving message: "no matching symbolic information found" against kernel32.dll and gdi32.dll. how to remove the bug now??

            C Offline
            C Offline
            Cedric Moonen
            wrote on last edited by
            #5

            kind_person wrote:

            "no matching symbolic information found" against kernel32.dll and gdi32.dll.

            That is normal, don't pay attention on that.

            kind_person wrote:

            "Unhandled exception in PracticeINI2XML.exe(KERNEL32.DLL): 0xe06d7363:Microsoft C++ Exception. "

            Ok, but in which file is the problem occuring ? Try to use the debugger correctly, that is setting breakpoints (F9) at precise points of your program. You said that this error hapenned when you press a button then you can put a breakpoint in the function and go step by step in the program to see where it crashes. You could also post HERE the code of the function (only the code of the funcion and using the code tags). And please, don't send private mails with source files as I don't have Visual studio installed on my computer. So I cannot test your program. You'll have to be more precise in your question (I cannot go into all of your files and read everything).

            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