sanofsans wrote: > Hi folks, > > 1)Does anybody know if a C++.exe (created with Microsoft Visual C++ 6.0) > would work on a computer that does not have C++ installed on it? > 2)Would you need anything else installed for a C++ exe to work. > 3)Do you just need the .exe file or some other files, too > (like .cpp etc...)? > 4) Does the exe file need to be compiled on the other computer, too? > > My questions is pretty much: Can you create a C++ exe and email it to > somebody and he would be able to use the program. > > Thank you very much! > > DD++
Aside from the fact that e-mailed EXEs usually get blocked by spam filters, how do you think most software that is written gets distributed? Take a look at existing software out there (VerifyMyPC - see my sig., for example, is written in MSVC++ .NET 2003 - requires the MSVC7.1 runtimes). Answers to your questions: 1) Sure as long as the C++ runtime is there. MSVC6 runtimes are on every system. 2) Depends. Literally. You should have a tool called Dependency Walker installed (depends.exe). Use it. 3) Depends. See #2. 4) No. If you did, then everyone would swipe the source code to Adobe Photoshop (or fill in your favorite application here) and build their own version and Adobe wouldn't be making money. #2 is one of the reasons why I'm considering releasing my new software product I'm currently using internally. The product is pretty cool but fairly technical in nature. -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* VerifyMyPC 2.4 Change tracking and management tool. Reduce tech. support times from 2 hours to 5 minutes. http://www.CubicleSoft.com/VerifyMyPC/