[英]Create DLL From Existing Visual studio C++ project
I have a c++ project developed in visual studio. 我有一个在visual studio中开发的c ++项目。 The project which is currently .exe depends on external libs (xerces c++ and system C libraries).
当前.exe的项目依赖于外部库(xerces c ++和系统C库)。 I now need to create a dll file (taking into account all the external libraries if possible).
我现在需要创建一个dll文件(如果可能的话考虑所有外部库)。
Thanks guyz for your help 谢谢guyz的帮助
You can change the Configuration Type
in the General
page of the project properties. 您可以在项目属性的“
General
页面中更改“ Configuration Type
”。 Select Dynamic Library (.dll)
. 选择
Dynamic Library (.dll)
。 The library projects can be consumed as before. 可以像以前一样使用库项目。
If you need to keep the .EXE project you have to make copy, of course. 如果你需要保留.EXE项目,你当然需要复制。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.