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. system restarting by itself

system restarting by itself

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasewindows-adminalgorithmsdata-structures
14 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.
  • T Tara14

    pgrohs wrote:

    Have you checked if the memory is OK?

    Please can you tell me which memory.

    pgrohs wrote:

    Try memtest.

    I do not know about memtest. Please can you explain in a little more detail. Is the problem with my program?:confused:_


    Fortitudine Vincimus!_

    P Offline
    P Offline
    pgrohs
    wrote on last edited by
    #4

    Look at http://www.memtest.org/. This is a tool that checks your RAM. It happens that programs crashes without an obvious reason. In that case it is useful to check the memory to exclude a hardware problem.

    T 1 Reply Last reply
    0
    • P pgrohs

      Look at http://www.memtest.org/. This is a tool that checks your RAM. It happens that programs crashes without an obvious reason. In that case it is useful to check the memory to exclude a hardware problem.

      T Offline
      T Offline
      Tara14
      wrote on last edited by
      #5

      Why is it that it on the two system that I worked on nothing happened, but on a third system, the same program is behaving this way?_


      Fortitudine Vincimus!_

      P 1 Reply Last reply
      0
      • T Tara14

        Why is it that it on the two system that I worked on nothing happened, but on a third system, the same program is behaving this way?_


        Fortitudine Vincimus!_

        P Offline
        P Offline
        pgrohs
        wrote on last edited by
        #6

        What do you mean with "system"? The OS or the hardware?

        T 2 Replies Last reply
        0
        • P pgrohs

          What do you mean with "system"? The OS or the hardware?

          T Offline
          T Offline
          Tara14
          wrote on last edited by
          #7

          The OS,I guess, Windows XP_


          Fortitudine Vincimus!_

          1 Reply Last reply
          0
          • P pgrohs

            What do you mean with "system"? The OS or the hardware?

            T Offline
            T Offline
            Tara14
            wrote on last edited by
            #8

            This is what is showing on my computer that crashed.

            Windows could not start because the following file is missing or corrupt:
            \system32\hal.dll
            Please re-install a copy of the above file.

            Did my program cause this to happen?_


            Fortitudine Vincimus!_

            P 1 Reply Last reply
            0
            • T Tara14

              This is what is showing on my computer that crashed.

              Windows could not start because the following file is missing or corrupt:
              \system32\hal.dll
              Please re-install a copy of the above file.

              Did my program cause this to happen?_


              Fortitudine Vincimus!_

              P Offline
              P Offline
              pgrohs
              wrote on last edited by
              #9

              Just google a little bit.

              T 1 Reply Last reply
              0
              • P pgrohs

                Just google a little bit.

                T Offline
                T Offline
                Tara14
                wrote on last edited by
                #10

                I did google. Mostly what comes up is: people have the same program. They are told that it is because the system heats up too much or because of windows update restarting the system. Thins like that. I need to know whether there is something wrong with my program. Is there any remote possibility that my program is causeing this? I am finding it difficult to figure it out because on my system the program works fine. Its working fine on another computer too. Does that mean anything? That nothing is wrong with my program._


                Fortitudine Vincimus!_

                D 1 Reply Last reply
                0
                • T Tara14

                  I did google. Mostly what comes up is: people have the same program. They are told that it is because the system heats up too much or because of windows update restarting the system. Thins like that. I need to know whether there is something wrong with my program. Is there any remote possibility that my program is causeing this? I am finding it difficult to figure it out because on my system the program works fine. Its working fine on another computer too. Does that mean anything? That nothing is wrong with my program._


                  Fortitudine Vincimus!_

                  D Offline
                  D Offline
                  David Crow
                  wrote on last edited by
                  #11

                  Tara14 wrote:

                  They are told that it is because the system heats up too much or because of windows update restarting the system. Thins like that.

                  So have you ruled both of these possibilities out?


                  "The largest fire starts but with the smallest spark." - David Crow

                  "Judge not by the eye but by the heart." - Native American Proverb

                  T 1 Reply Last reply
                  0
                  • D David Crow

                    Tara14 wrote:

                    They are told that it is because the system heats up too much or because of windows update restarting the system. Thins like that.

                    So have you ruled both of these possibilities out?


                    "The largest fire starts but with the smallest spark." - David Crow

                    "Judge not by the eye but by the heart." - Native American Proverb

                    T Offline
                    T Offline
                    Tara14
                    wrote on last edited by
                    #12

                    I do not know what to think. I managed to reinstall windows on the system that crashed and worked my program again on it for a long time and nothing happened. It has not restarted at all. So I am totally confused. The program has to work on the clients system..._


                    Fortitudine Vincimus!_

                    E 1 Reply Last reply
                    0
                    • T Tara14

                      I do not know what to think. I managed to reinstall windows on the system that crashed and worked my program again on it for a long time and nothing happened. It has not restarted at all. So I am totally confused. The program has to work on the clients system..._


                      Fortitudine Vincimus!_

                      E Offline
                      E Offline
                      earl
                      wrote on last edited by
                      #13

                      You would have to be doing something awfully odd to crash a properly configured XP system by anything you're doing. On the other hand, this is MS; if there is a way to 'tard something up they'll find it. What exactly did you have to change on your system? Do these systems that are crashing crash under heavy load from other apps? Do you have spyware / trojans / viruses on these machines?

                      T 1 Reply Last reply
                      0
                      • E earl

                        You would have to be doing something awfully odd to crash a properly configured XP system by anything you're doing. On the other hand, this is MS; if there is a way to 'tard something up they'll find it. What exactly did you have to change on your system? Do these systems that are crashing crash under heavy load from other apps? Do you have spyware / trojans / viruses on these machines?

                        T Offline
                        T Offline
                        Tara14
                        wrote on last edited by
                        #14

                        earl wrote:

                        Do these systems that are crashing crash under heavy load from other apps? Do you have spyware / trojans / viruses on these machines?

                        No. The sysems are properly protected.

                        earl wrote:

                        You would have to be doing something awfully odd to crash a properly configured XP system by anything you're doing. On the other hand, this is MS; if there is a way to 'tard something up they'll find it.

                        That is exacly what I thought too. And my program uses all the usual very simple dialog boxes, some calculation, no registry used, no dll's, no multiple threds, no internet connection.... I have added

                        AfxGetModuleState()->m\_dwVersion = 0x0601;
                        

                        at the begining to connect to dao360. The best part is that on two other system no restarting has happened. But of course, the client is going to blame my program if his system crashes.:((_


                        Fortitudine Vincimus!_

                        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