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