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 0xc0150002 when run MFC in Window 7

Application error 0xc0150002 when run MFC in Window 7

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestion
6 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.
  • A Offline
    A Offline
    Andraw111
    wrote on last edited by
    #1

    Hi, dear all I create an application using MFC in C++ 6.0, it works fine in Window XP, and in Window 7 mostly, but there is a computer with Win7, SP1 that cannot run the application, the error message is "The application was unable to start correctly (0xc0150002") click OK to close it". Can anybody tell me what cause this kind of error, how to fix it? Thanks!

    C 1 Reply Last reply
    0
    • A Andraw111

      Hi, dear all I create an application using MFC in C++ 6.0, it works fine in Window XP, and in Window 7 mostly, but there is a computer with Win7, SP1 that cannot run the application, the error message is "The application was unable to start correctly (0xc0150002") click OK to close it". Can anybody tell me what cause this kind of error, how to fix it? Thanks!

      C Offline
      C Offline
      Chris Meech
      wrote on last edited by
      #2

      I'd guess that a DLL is not found. Can you try to debug the application with VS on the failing machine. If not, try to use the Dependancy Walker application to determine what DLL is failing to load. It might also be a bad DLL, in that it loads okay, but an entry point that is required is not found. Again Dependancy Walker will be able to tell you this. :)

      Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

      A 1 Reply Last reply
      0
      • C Chris Meech

        I'd guess that a DLL is not found. Can you try to debug the application with VS on the failing machine. If not, try to use the Dependancy Walker application to determine what DLL is failing to load. It might also be a bad DLL, in that it loads okay, but an entry point that is required is not found. Again Dependancy Walker will be able to tell you this. :)

        Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

        A Offline
        A Offline
        Andraw111
        wrote on last edited by
        #3

        Chris, Thanks for your reply. Since the application is created by C++ 6.0, it cannot be debugged in Win 7. Maybe the dependency walker is the only way. Thanks again!

        C R 2 Replies Last reply
        0
        • A Andraw111

          Chris, Thanks for your reply. Since the application is created by C++ 6.0, it cannot be debugged in Win 7. Maybe the dependency walker is the only way. Thanks again!

          C Offline
          C Offline
          Chris Meech
          wrote on last edited by
          #4

          Andraw111 wrote:

          Since the application is created by C++ 6.0, it cannot be debugged in Win 7.

          :confused: :confused: :confused: While there are issues related to installing the software in order to establish a debugging environment, what is there to specifically prohibit this? :)

          Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra] posting about Crystal Reports here is like discussing gay marriage on a catholic church’s website.[Nishant Sivakumar]

          1 Reply Last reply
          0
          • A Andraw111

            Chris, Thanks for your reply. Since the application is created by C++ 6.0, it cannot be debugged in Win 7. Maybe the dependency walker is the only way. Thanks again!

            R Offline
            R Offline
            Rolf Kristensen
            wrote on last edited by
            #5

            Make sure to check the EventLog (Application + System) it can many times have interesting information, about failed program starts. Also even if you find it impossible to install VC6 on Win7, then you can still debug using WinDBG (Windows Debugging Tools).

            A 1 Reply Last reply
            0
            • R Rolf Kristensen

              Make sure to check the EventLog (Application + System) it can many times have interesting information, about failed program starts. Also even if you find it impossible to install VC6 on Win7, then you can still debug using WinDBG (Windows Debugging Tools).

              A Offline
              A Offline
              Andraw111
              wrote on last edited by
              #6

              Rolf, thanks for your suggestion.

              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