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 freezes while loading DLLs

Application freezes while loading DLLs

Scheduled Pinned Locked Moved C / C++ / MFC
csharpc++visual-studioquestion
9 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.
  • M Offline
    M Offline
    Member 534357
    wrote on last edited by
    #1

    I am running a VC++ MFC based application using Visual Studio .NET, as it starts up it loads most of it's DLLs & then freezes so it never really starts the application it stays in this frozen state. The only way out of it is by killing it. I rebooted my machine, plus rebuilt my application but it didn't work. What can be causing this to happen?

    J 1 Reply Last reply
    0
    • M Member 534357

      I am running a VC++ MFC based application using Visual Studio .NET, as it starts up it loads most of it's DLLs & then freezes so it never really starts the application it stays in this frozen state. The only way out of it is by killing it. I rebooted my machine, plus rebuilt my application but it didn't work. What can be causing this to happen?

      J Offline
      J Offline
      Jens Doose
      wrote on last edited by
      #2

      Sounds a little bit like a virus scanner or a firewall.. Jens

      M 1 Reply Last reply
      0
      • J Jens Doose

        Sounds a little bit like a virus scanner or a firewall.. Jens

        M Offline
        M Offline
        Member 534357
        wrote on last edited by
        #3

        Thanks but that's not the case here, could it be some static initialization that's a bit corrupted? just a guess

        J B 2 Replies Last reply
        0
        • M Member 534357

          Thanks but that's not the case here, could it be some static initialization that's a bit corrupted? just a guess

          J Offline
          J Offline
          Jens Doose
          wrote on last edited by
          #4

          Well, maybe, but not very likely?!? Is this the case with EVERY application or just with one specific app? Jens

          M 1 Reply Last reply
          0
          • M Member 534357

            Thanks but that's not the case here, could it be some static initialization that's a bit corrupted? just a guess

            B Offline
            B Offline
            basementman
            wrote on last edited by
            #5

            Does this happen only during a ShellExec type call where you double click on a file whose associated program is the one hanging?  onwards and upwards...

            M 1 Reply Last reply
            0
            • B basementman

              Does this happen only during a ShellExec type call where you double click on a file whose associated program is the one hanging?  onwards and upwards...

              M Offline
              M Offline
              Member 534357
              wrote on last edited by
              #6

              it happens when I run it from the Visual Studio. NET in debug mode.

              1 Reply Last reply
              0
              • J Jens Doose

                Well, maybe, but not very likely?!? Is this the case with EVERY application or just with one specific app? Jens

                M Offline
                M Offline
                Member 534357
                wrote on last edited by
                #7

                just this one specific app

                J 1 Reply Last reply
                0
                • M Member 534357

                  just this one specific app

                  J Offline
                  J Offline
                  Jens Doose
                  wrote on last edited by
                  #8

                  Try to isolate the problem. If you're loading special DLLs add them one by one to a new "dummy" project until it happens to this app also. Jens

                  M 1 Reply Last reply
                  0
                  • J Jens Doose

                    Try to isolate the problem. If you're loading special DLLs add them one by one to a new "dummy" project until it happens to this app also. Jens

                    M Offline
                    M Offline
                    Member 534357
                    wrote on last edited by
                    #9

                    It's not the DLL, the DLL where it's freezing at, seems to load fine, it seems only to be happening on my machine, my co workers are able to run the same application just fine. What could have happened? I did a repair/reinstall on my VS but it didn't help.

                    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