For the OCX file to register properly, a few steps have to be followed, because DEP needs to be disabled.
First, press Windows key and type CMD. Right-click it and choose Run as Administrator, then paste the following: bcdedit.exe /set nx AlwaysOff.
This disables the DEP protection. Reboot the PC and reinstall/register the OCX file. Restart after installation and repeat the procedure, but this time type bcdedit.exe /set nx AlwaysOn. Reboot one more time, and that's it.