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. Application Error only on some computers

Application Error only on some computers

Scheduled Pinned Locked Moved C / C++ / MFC
c++help
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.
  • E Offline
    E Offline
    ElizabethC
    wrote on last edited by
    #1

    I have Dell with Windows 2000; the application is a MFC EXE developed using Visual C++ 6.0 enterprise. After applying some modifications to the application, some of my client computers are receiving "Application Error" message. But this does not appeariing in the development computer. The client computers and the developer computer have the same model and RAM size. I am very frustrated. The "Application Error" is very difficult to trouble shoot. Eilzabeth

    S M 2 Replies Last reply
    0
    • E ElizabethC

      I have Dell with Windows 2000; the application is a MFC EXE developed using Visual C++ 6.0 enterprise. After applying some modifications to the application, some of my client computers are receiving "Application Error" message. But this does not appeariing in the development computer. The client computers and the developer computer have the same model and RAM size. I am very frustrated. The "Application Error" is very difficult to trouble shoot. Eilzabeth

      S Offline
      S Offline
      Scott H Settlemier
      wrote on last edited by
      #2

      This sounds like a case for .... CrashFinder[^] Article here[^].

      E 1 Reply Last reply
      0
      • E ElizabethC

        I have Dell with Windows 2000; the application is a MFC EXE developed using Visual C++ 6.0 enterprise. After applying some modifications to the application, some of my client computers are receiving "Application Error" message. But this does not appeariing in the development computer. The client computers and the developer computer have the same model and RAM size. I am very frustrated. The "Application Error" is very difficult to trouble shoot. Eilzabeth

        M Offline
        M Offline
        mwilliamson
        wrote on last edited by
        #3

        Let drwatson write the log and then you can use it to find your problem. C:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log. Goto the last crash, and it will tell you the call stack around the crash. You will see fault in the margin for the line on which it crashed. Hopefully you will have enough information to trace it back to a line in your source. If not, build your release with debug information. Then let it crash, you should now see what function caused the crash and in what windows function. You might want to do this off the bat because drwatson is usually hard to read.

        E 1 Reply Last reply
        0
        • S Scott H Settlemier

          This sounds like a case for .... CrashFinder[^] Article here[^].

          E Offline
          E Offline
          ElizabethC
          wrote on last edited by
          #4

          I downloaded and installed CrashFinder with the CLW file dated 5/6/2002. I received compilation errors: Compiling... CrashFinderDoc.cpp C:\download\CrashFinder\CrashFinderDoc.cpp(1107) : error C2065: 'SymDia' : undeclared identifier C:\download\CrashFinder\CrashFinderDoc.cpp(1107) : error C2051: case expression not constant Error executing cl.exe. Do I have the good version? Eilzabeth

          S 1 Reply Last reply
          0
          • M mwilliamson

            Let drwatson write the log and then you can use it to find your problem. C:\Documents and Settings\All Users\Documents\DrWatson\drwtsn32.log. Goto the last crash, and it will tell you the call stack around the crash. You will see fault in the margin for the line on which it crashed. Hopefully you will have enough information to trace it back to a line in your source. If not, build your release with debug information. Then let it crash, you should now see what function caused the crash and in what windows function. You might want to do this off the bat because drwatson is usually hard to read.

            E Offline
            E Offline
            ElizabethC
            wrote on last edited by
            #5

            I went to the folder and found drwtsn32.log. But it was created in 2001. Do I have to turn it on some how? I also modified the project setting to include the debug information. Hope it will help when my client comes back from vacation. Eilzabeth

            E 1 Reply Last reply
            0
            • E ElizabethC

              I downloaded and installed CrashFinder with the CLW file dated 5/6/2002. I received compilation errors: Compiling... CrashFinderDoc.cpp C:\download\CrashFinder\CrashFinderDoc.cpp(1107) : error C2065: 'SymDia' : undeclared identifier C:\download\CrashFinder\CrashFinderDoc.cpp(1107) : error C2051: case expression not constant Error executing cl.exe. Do I have the good version? Eilzabeth

              S Offline
              S Offline
              Scott H Settlemier
              wrote on last edited by
              #6

              That's a newer version. I think it must use an imagehelp.dll installed with .Net or something. Try the older version available via the link in the original article.

              E 1 Reply Last reply
              0
              • S Scott H Settlemier

                That's a newer version. I think it must use an imagehelp.dll installed with .Net or something. Try the older version available via the link in the original article.

                E Offline
                E Offline
                ElizabethC
                wrote on last edited by
                #7

                The problem is solved. The problem was in the Oracle ODBC driver. The client has an older version of the driver. After I upgraded the driver to version 9. The error went away. The problem was from one of the CLOB fields. I think some data is "bad" in that field because other CLOB fields do not cause problems. Thank you all very much for help. -Elizabeth Eilzabeth

                1 Reply Last reply
                0
                • E ElizabethC

                  I went to the folder and found drwtsn32.log. But it was created in 2001. Do I have to turn it on some how? I also modified the project setting to include the debug information. Hope it will help when my client comes back from vacation. Eilzabeth

                  E Offline
                  E Offline
                  ElizabethC
                  wrote on last edited by
                  #8

                  Problem solved. Please see my other reply. Thank you all. -Elizabeth Eilzabeth

                  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