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. Facing problem while running exe created using 2005

Facing problem while running exe created using 2005

Scheduled Pinned Locked Moved C / C++ / MFC
helpvisual-studiocsharpc++
5 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.
  • R Offline
    R Offline
    Ravi Jadhav
    wrote on last edited by
    #1

    I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.

    J D T 3 Replies Last reply
    0
    • R Ravi Jadhav

      I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.

      J Offline
      J Offline
      James R Twine
      wrote on last edited by
      #2

      You are not trying to deploy a debug build, are you (or using any DLLs that are debug versions themselves)?    Just because you did a static MFC link does not mean that your application will not have any other DLL dependencies.  Depends on what else you are using in your project.    Peace!

      -=- James
      Please rate this message - let me know if I helped or not! * * * If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
      Avoid driving a vehicle taller than you and remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
      See DeleteFXPFiles

      1 Reply Last reply
      0
      • R Ravi Jadhav

        I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.

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

        Do you need this?


        "A good athlete is the result of a good and worthy opponent." - David Crow

        "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

        R 1 Reply Last reply
        0
        • R Ravi Jadhav

          I have converted my exisiting vc6 project to vc8 i.e. visual studio 2005. Now i have created the exe and try to execute that on other pc where VS 2005 is not installed. I tried with linking MFC dlls statically even that is also not working. Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application." Please help.

          T Offline
          T Offline
          ThatsAlok
          wrote on last edited by
          #4

          Ravi Jadhav wrote:

          Following error occurs when i execute the exe "The application failed to initialize properly (0xc0150002). Click on OK to terminate the application."

          actually execuatble compiled with VC8, are also using manifest file to execute. which doesn't present in new computers.. you just download and execute vcredist.exe (URL given by Mr. David Crow)

          "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
          Never mind - my own stupidity is the source of every "problem" - Mixture

          cheers, Alok Gupta VC Forum Q&A :- I/IV Support CRY- Child Relief and You

          1 Reply Last reply
          0
          • D David Crow

            Do you need this?


            "A good athlete is the result of a good and worthy opponent." - David Crow

            "To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne

            R Offline
            R Offline
            Ravi Jadhav
            wrote on last edited by
            #5

            Thanks for the help. Re-distributable component for 2005 worked

            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