How to create DLL

I have created a function that I want to use in IDL. But I don't know how to create a DLL to export this function. I am working with visual studio 2017.
Here is a tutorial for VS 2015 but it should work with VS2017 as well:
https://msdn.microsoft.com/en-us/library/ms235636.aspx
Topic archived. No new replies allowed.