94a Subj : Re: generating .exe file To : borland.public.cpp.borlandcpp From : Andrue Cope Date : Fri Aug 29 2003 10:13 am Myothello, > i want to generate a .exe file that will not need the C++Builder environment to be present to run. > This is the wrong newsgroup section. .BORLANDCPP deals with the pre-Builder tools. C++ Builder has it's own sections each of which has CPPBUILDER in their title. Borland newsgroups are described at: http://info.borland.com/newsgroups Could you also adjust your newsreader's margins down a bit please - I think that 78 characters is suggested by the guidelines. Guidelines: http://info.borland.com/newsgroups/guide.html Now after all that here's the answer to your question: A message from Don Dornblaser has the steps to bring in the Borland stuff: 1. Under the Project menu, select the Options menu item 2. Click on the Linker tab 3. Make sure the "Use dynamic RTL" option is NOT checked 4. Click on the Packages tab 5. Make sure the "Build with runtime packages" option is NOT checked 6. Click the OK button to dismiss the dialog 7. Pick Save from the File menu to commit your changes 8. Pick "Build all projects" from the Project menu to rebuild This will make it so you don't have to ship the Borland support DLLs. However, if you use BDE (the database), ActiveX controls (like the Formula One or HTML controls), or other 3rd party libraries that use DLLs, then you are out of luck. You'll have to use an installation program. See the link on the Borland page for a list of 3rd party setup programs: http://www.borland.com/bcppbuilder/bcppbtools.html#inst InstallShield Express comes with many versions of BCB and should be your first stop. Also, see the file 'deploy.txt' in your BCB folder for more info. And the BCB help file has some info on this subject. Go into the index and look for 'installation programs'. Check the article in the Community on "Avoiding DLL torment": http://community.borland.com/article/0,1410,10468,00.html To see all the dependencies in your appliction, you can use the command line utility TDUMP, or you can download the cool GUI TDUMP from Microsoft at: http://msdn.microsoft.com/library/techart/redistribvc6.htm or http://www.dependencywalker.com/ -- Andrue Cope [Bicester, UK] . 0