简体   繁体   中英

Create DLL From Existing Visual studio C++ project

I have a c++ project developed in visual studio. The project which is currently .exe depends on external libs (xerces c++ and system C libraries). I now need to create a dll file (taking into account all the external libraries if possible).

  1. Is there a way to convert the existing project into a dll (a tool) ?
  2. If I need to create a dll project from the scratch (which is crazy cos the project is large :( ) what happens to the external libs - ie will a user need to configure those lib before using my dll?

Thanks guyz for your help

You can change the Configuration Type in the General page of the project properties. Select 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM