Okay, yes there are steps and you can do this yourself. But please, listen don't do this on your own. Even the most skilled of people won't chance this.
Create a Active X DLL project. Rename Class1 to WINSYSDIR. Change the project name to mydll. Add to the class module WINSYSDIR GetWindowsDirectory and WinDir. Create the dll.