Dynamic Link Library (DLL) or OLE Control eXtension (OCX) file is a shared library concept in Microsoft Windows operating system.
These libraries are set of functions that shared and called by various applications and then utilized by those those application.
Software vendors include their own DLL/OCX file upon installing their software and it is self-registering.
But this time we have to manually registering an DLL/OCX file.
For example we have an created are own DLL/OCX file that have different functions.
We can do this via “RegSvr32” tool.
regsvr32 [/u] [/s] [/n] [/i[:cmdline]] dllname
/u – Unregister server
/s – Silent; display no message
/i – Call DllInstall passing it an optional [cmdline];
when used with /u calls dll uninstall
/n – do not call DllRegisterServer;
this option must be used with /i
dllname – the name of the dll, including the path
Now, how do we execute this command?
Open an Command Prompt and enter the command.
Go to START > Run and enter the command.
Press Window+R to open and run window, then enter the command.