Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Windows message error in running application
QtWS25 Last Chance

Windows message error in running application

Scheduled Pinned Locked Moved General and Desktop
7 Posts 4 Posters 4.4k Views
  • 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.
  • R Offline
    R Offline
    romeo.rbw
    wrote on last edited by
    #1

    Hi...
    I make an application using Qt. After build, I copy all the folder build to another PC. The .exe file
    / application run well after 2 minutes, and then always there is a message box with messages:

    "display_app.exe has stopped working"
    A problem caused the program to stop working correctly.
    Windows will close the program and notify you if a solution is available.

    Also there are two buttons: "Debug" and "Close Program"

    I need your suggestion, what is the problem in my application. Thank you.

    romeo-

    1 Reply Last reply
    0
    • S Offline
      S Offline
      Sam
      wrote on last edited by
      #2

      The problem might be that the application must be looking for some resources/dependencies(.dll) on the local drive( depends on what you code). So it will be helpful if you can provide some code.

      Also did you copy the associated .dll's with the exe file ?

      You can check with "Dependency walker ":http://www.dependencywalker.com/ regarding the missing dlls.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        romeo.rbw
        wrote on last edited by
        #3

        Thanks for reply,
        but the application already run well about 2 minutes. May be the .dll already complete. But I will check it with Dependency walker.

        1 Reply Last reply
        0
        • R Offline
          R Offline
          romeo.rbw
          wrote on last edited by
          #4

          After running dependency walker, all .dll in the top left container already green (ok),
          but in the Module container there is one question mark: IESHIMS.DLL, error opening file. The system cannot find the file specified(2).

          Then, I search IESHIMS.dll in the PC and in the other PC that I make the program. It seems that the IESHIMS.dll not available in those PC.

          May be is there any other suggestion? Thanks

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sam
            wrote on last edited by
            #5

            One simple thing is that you can create a sample example of your project and upload the file somewhere and paste the link here , that will be much more easy for us to understand the problem.

            1 Reply Last reply
            0
            • F Offline
              F Offline
              franku
              wrote on last edited by
              #6

              You probably have to review your code since there will be some bug in it.

              This, Jen, is the internet.

              1 Reply Last reply
              0
              • JeroentjehomeJ Offline
                JeroentjehomeJ Offline
                Jeroentjehome
                wrote on last edited by
                #7

                Hi, sounds to me that you made a coding error. Is it the same in the debug setting? Does it also stop working? Maybe check for memory leaks or make sure every while and for loop get exited properly. Try it also with a very busy machine (start a 3D game in de background orso, just to simulate processor load).
                Happy bug hunting!

                Greetz, Jeroen

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved