A Beginner Tutorial for Writing Simple COM/ATL DLL For VS2012 – CodeProject

https://www.codeproject.com/Articles/505791/Writing-Simple-COM-ATL-DLL-for-VS2012