Error adding EPDM.interop.epdm.dll as reference

Hi there.

I am using Solidworks 2017, Solidworks PDM 2017, Windows 10 workstation. I copied an macro from help, C# Get File Information example, and I get an error when I register the EPDM.interop.epdm.dll.  I attached a screen shot.

The dll is found in 2 locations, C:\Program Files\SOLIDWORKS Corp\SOLIDWORKS PDM, and C:\Program Files (x86)\SOLIDWORKS PDM. No matter what location I use, I get the same error. I can't find any solution.

Did you have this problem and how did you solve it?

Thanks for help.

Regards,

Octavian

SolidworksApi/macros