C++ – How to make project exe,how to include all runtime dll files


How to include the windows runtime dll files in setup project.

without vc++ 6.0 software in the machine the project must execute.

or give me the hint how to make a the project setup(EXE) in vc++ 6.0 ,i am using create installor,

Best Solution

You can modify the project settings to link statically to the C runtime (I assume this is what you mean when you said windows runtime ?). The static link flags are:

  • MultiThreaded static linkage (/MT)
  • MultiThreaded debug static linkage (/MTd)

Sorry, been awhile since I used VC6.0, so I had to check the GUI. You'll find this in project settings, C++ tab, Code Generation combo box, "Use run-time library").

Related Question