How do I compile a .cpp source file into a .dll?

前端 未结 3 798
梦谈多话
梦谈多话 2020-12-20 03:37

How do I compile a .cpp source file into a .dll?

3条回答
  •  醉话见心
    2020-12-20 04:07

    A dll file is a library file, which is composed of many object files. This means you need to compile your .cpp file then combine it with any other files you need into the .dll.

    Here's a tutorial I found with a quick google: http://www.icynorth.com/development/createdlltutorial.html

    EDIT A fix for the above link since it's dead now https://web.archive.org/web/20130924001807/http://icynorth.com/development/createdlltutorial.html

提交回复
热议问题