To create a DLL project in Visual Studio 2019 At the top of the dialog, set Language to C++, set Platform to Windows, and set Project type to Library. From the filtered list of project types, select Dynamic-link Library (DLL), and then choose Next.