Mayowa Junior
Mayowa Junior

Reputation: 75

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 - i.e. will a user need to configure those lib before using my dll?

Thanks guyz for your help

Upvotes: 6

Views: 9394

Answers (1)

harper
harper

Reputation: 13690

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.

Upvotes: 8

Related Questions