如何制作项目exe,如何包含所有运行时dll文件 [英] How to make project exe,how to include all runtime dll files
问题描述
如何在安装项目中包含 windows 运行时 dll 文件.
How to include the windows runtime dll files in setup project.
如果机器中没有 vc++ 6.0 软件,项目必须执行.
without vc++ 6.0 software in the machine the project must execute.
或者给我提示如何在 vc++ 6.0 中进行项目设置(EXE),我正在使用创建安装程序,
or give me the hint how to make a the project setup(EXE) in vc++ 6.0 ,i am using create installor,
推荐答案
您可以修改项目设置以静态链接到 C 运行时(我假设这就是您所说的 Windows 运行时的意思?).静态链接标志是:
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:
- 多线程静态链接 (/MT)
- 多线程调试静态链接 (/MTd)
抱歉,因为我使用 VC6.0 有一段时间了,所以我不得不检查 GUI.您可以在项目设置、C++ 选项卡、代码生成组合框、使用运行时库"中找到它.
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").
这篇关于如何制作项目exe,如何包含所有运行时dll文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!