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. Distributing my VC++ app

Distributing my VC++ app

Scheduled Pinned Locked Moved C / C++ / MFC
helpworkspacec++question
5 Posts 3 Posters 1 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.
  • N Offline
    N Offline
    nay
    wrote on last edited by
    #1

    I've run into a problem when trying to distribute my application. I'm using a freeware installer called Innno Setup, which is very nice. I have made sure that all of my dlls, config files and even the MSVC redistributable dlls are in the executable directory after install. But still the program dies with a MS VC++ errror. Abnormal program termination. It will not even start. I've gotten it to work on 1 machine which had MSVC7 installed. But machines with MSVC6 installed will not run the program unless it is run from the development environment. The target machines without any development environment throw the same error. So you see, I'm in a bind. Has anyone seen similar behavior? nay

    D M 2 Replies Last reply
    0
    • N nay

      I've run into a problem when trying to distribute my application. I'm using a freeware installer called Innno Setup, which is very nice. I have made sure that all of my dlls, config files and even the MSVC redistributable dlls are in the executable directory after install. But still the program dies with a MS VC++ errror. Abnormal program termination. It will not even start. I've gotten it to work on 1 machine which had MSVC7 installed. But machines with MSVC6 installed will not run the program unless it is run from the development environment. The target machines without any development environment throw the same error. So you see, I'm in a bind. Has anyone seen similar behavior? nay

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

      This sounds like either the application was built in debug mode and thus requires the debug MFC files, or the application is using an ActiceX control that is not present.


      "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

      N 1 Reply Last reply
      0
      • D David Crow

        This sounds like either the application was built in debug mode and thus requires the debug MFC files, or the application is using an ActiceX control that is not present.


        "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

        N Offline
        N Offline
        nay
        wrote on last edited by
        #3

        I made sure the app was release mode. Also there are no activex controls in this app. I've followed the directions given in the "Redistributing Microsoft Visual C++ 6.0 Applications" article on MSDN, but still no luck. The thing that's really bothering me is that it's not telling me there's a DLL missing. It's just crashing. nay

        D 1 Reply Last reply
        0
        • N nay

          I made sure the app was release mode. Also there are no activex controls in this app. I've followed the directions given in the "Redistributing Microsoft Visual C++ 6.0 Applications" article on MSDN, but still no luck. The thing that's really bothering me is that it's not telling me there's a DLL missing. It's just crashing. nay

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

          So have you used the Depends utility to make sure all implicitly-loaded DLLs are present on the target machine? Can you create a smaller version of your application that reproduces the problem?


          "The pointy end goes in the other man." - Antonio Banderas (Zorro, 1998)

          1 Reply Last reply
          0
          • N nay

            I've run into a problem when trying to distribute my application. I'm using a freeware installer called Innno Setup, which is very nice. I have made sure that all of my dlls, config files and even the MSVC redistributable dlls are in the executable directory after install. But still the program dies with a MS VC++ errror. Abnormal program termination. It will not even start. I've gotten it to work on 1 machine which had MSVC7 installed. But machines with MSVC6 installed will not run the program unless it is run from the development environment. The target machines without any development environment throw the same error. So you see, I'm in a bind. Has anyone seen similar behavior? nay

            M Offline
            M Offline
            Michael Dunn
            wrote on last edited by
            #5

            See the FAQ 8.2 A program I've written doesn't load when it's run on a computer without Visual C++ installed. Why?[^] --Mike-- Personal stuff:: Ericahist | Homepage Shareware stuff:: 1ClickPicGrabber | RightClick-Encrypt CP stuff:: CP SearchBar v2.0.2 | C++ Forum FAQ ---- Actual sign at the laundromat I go to: "No tinting or dying."

            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