如何使用Regsrv32命令注册和注销Windows DLL文件

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 actions

    OPTINONS用于提供不同的动作

  • DLL is the path with the name of DLL file

    DLL是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。

Open MS-DOS or Powershell with Administrator Privileges
  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值