search

Home  >  Q&A  >  body text

c++ - 如何将静态库转成动态库(Visual Studio)?

有源代码并且代码量比较大,是静态库的工程(VS2013),如何快速将其转换成动态链接库?

PHPzPHPz2808 days ago1004

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 15:26:33

    Under Visual Studio, to convert to a dynamic library, the export symbol must be given, so if there is a .def, it will be easy, but if not, it will be more difficult.
    If you want to prevent the compilation time from being too long, you can use precompiled headers and incremental linking.

    reply
    0
  • Cancelreply