Dynamic Link Libraries provides helper libraries to the applications. Dynamic Link Libraries also called DLL. DLL’s provides reusable libraries, data and code which can be used by multiple applications or executables. In order to use system wide DLL’s easily we should register them. regsrv32
is a tool used to register DLL’s to the operating system.
动态链接库为应用程序提供了帮助程序库。 动态链接库也称为DLL。 DLL提供了可重用的库,数据和代码,可以由多个应用程序或可执行文件使用。 为了轻松使用系统范围的DLL,我们应该对其进行注册。 regsrv32
是用于将DLL注册到操作系统的工具。
句法 (Syntax)
Syntax of regsrv32
is like below.
regsrv32
语法如下。
regsrv32 OPTIONS DLL
OPTINONS
are used provide different actionsOPTINONS
用于提供不同的动作DLL
is the path with the name of DLL fileDLL
是DLL文件名称的路径
使用管理员权限打开MS-DOS或Powershell(Open MS-DOS or Powershell with Administrator Privileges)
Playing with DLL’s in windows operating system requires Administrator privileges. So we will register and unregister DLL’s where we need a shell like MS-DOS or Powershell with Administrator privileges. In this example we will open MS_DOS shell with Administrator rights just clicking Run as administrator
menu. The same technique can be used for Powershell too.
在Windows操作系统中播放DLL需要管理员权限。 因此,我们将在需要具有管理员特权的MS-DOS或Powershell之类的外壳的情况下注册和注销DLL。 在此示例中,我们将以管理员权限打开MS_DOS shell,只需单击Run as administrator
菜单。 同样的技术也可以用于Powershell。