I have a ActiveX DLL called sjmsendKeys.dll and this has been placed in the system32 folder and been registered, how would i make this dll available in javascript ans what code would i use for this.

The dll file contains a class that simulates keypresses depending on the input.