Question: how to add a dll file in visual studio 2017?
Answer: To create a DLL project in Visual Studio 2017 On the menu bar, choose File > New > Project to open the New Project dialog box. In the left pane of the New Project dialog box, select Installed > Visual C++ > Windows Desktop. In the center pane, select Dynamic-Link Library (DLL).