C++ help for a beginer
-
I have source code for a program that I want to run on several PC's. I only have one PC with Visual studio so cant just re-compile the code on all the PC's. I have tried just copying the .exe file generated by visual studio to all the PC's but the program does not seem to work properly. I am told this is because the .exe is dependant on a few .dll files. I need to know how to package the .exe and the .dll files together to be installed on several PC's. I think in Visaul Basic I could use the Package and Deployment Wizard, is there an equivalent to this in Visual C++? I have not been able to find anything helpfull on the internet, so if anyone has any suggestions, please let me know. Cheers
-
I have source code for a program that I want to run on several PC's. I only have one PC with Visual studio so cant just re-compile the code on all the PC's. I have tried just copying the .exe file generated by visual studio to all the PC's but the program does not seem to work properly. I am told this is because the .exe is dependant on a few .dll files. I need to know how to package the .exe and the .dll files together to be installed on several PC's. I think in Visaul Basic I could use the Package and Deployment Wizard, is there an equivalent to this in Visual C++? I have not been able to find anything helpfull on the internet, so if anyone has any suggestions, please let me know. Cheers
Gee, it's kind of hard to know what your program needs, if you're not going to tell us what it uses. There is a program called 'Depends' ( from memory ) in the stuff that comes with VS, it might tell you waht you need. If you use MFC, you need the MFC dll, if you use C in your program, you'll need MSVCRT, etc. I assume it's a release build ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Gee, it's kind of hard to know what your program needs, if you're not going to tell us what it uses. There is a program called 'Depends' ( from memory ) in the stuff that comes with VS, it might tell you waht you need. If you use MFC, you need the MFC dll, if you use C in your program, you'll need MSVCRT, etc. I assume it's a release build ? Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Sorry Christian, I didnt write the code so I dont know what it uses. like I said, I am vey much a beginner and the code is way over my head. Thanks for the help though. Where can I find those dll's that you mentioned?
Windows/System32 is where they need to end up, and where they will be to start with. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
Windows/System32 is where they need to end up, and where they will be to start with. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder
-
I have source code for a program that I want to run on several PC's. I only have one PC with Visual studio so cant just re-compile the code on all the PC's. I have tried just copying the .exe file generated by visual studio to all the PC's but the program does not seem to work properly. I am told this is because the .exe is dependant on a few .dll files. I need to know how to package the .exe and the .dll files together to be installed on several PC's. I think in Visaul Basic I could use the Package and Deployment Wizard, is there an equivalent to this in Visual C++? I have not been able to find anything helpfull on the internet, so if anyone has any suggestions, please let me know. Cheers
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 ---- Pinky, are you pondering what I'm pondering? I think so Brain, but if we shaved our heads, we'd look like weasels!
-
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 ---- Pinky, are you pondering what I'm pondering? I think so Brain, but if we shaved our heads, we'd look like weasels!
-
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 ---- Pinky, are you pondering what I'm pondering? I think so Brain, but if we shaved our heads, we'd look like weasels!
If you used Visual Studio 2003 and using .net, then your program will not load if .net framework is missing from the computer. Mostly these things happen because the environment on which the code was written has some dlls in the computer which are missing from that where it is deployed. I suggest you start by installing .net framework on the machine where you want to deploy your program. - Shailesh
-
How do I replace the msvcrt dll. When I try to copy the new one into the system32 folder I get a message saying that It cant be done because windows is using the dll.
If it's already there, it's already there. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder