C# macros not working

I'm running Solidworks 2016 on windows 10 and need to create macros in C#. I have the API tools installed and can create and edit macros in C#, but cannot run them. Running the .dll gives an error saying the file cannot be opened, and clicking the play button in the code editor appears to run, but nothing happens in the solidworks window. The code generated by recording a macro works fine on other computers, just not mine. Any help with this would be greatly appreciated.

SolidworksApi macros