以管理员身份在Windows 7中注册一个dll [英] register a dll in windows 7 as administrator

查看:299
本文介绍了以管理员身份在Windows 7中注册一个dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在制定一个出勤计划。因为我需要在系统文件夹中复制一个dll并且需要注册。 windows xp我没有遇到任何问题。在win 7 os中,使用管理员权限复制dll非常困难。请指导我如何使用visual studio以管理员身份在win 7中复制和注册dll。



感谢你

jbcs raju

解决方案

在提升的命令提示符下运行regsvr32。



如果您遇到64位计算机的问题,请尝试

打开提升的命令提示符。

如果32位DLL位于%systemroot%\ System32文件夹中,请将其移至%systemroot%\ SysWoW64文件夹。

运行以下命令

%systemroot%\ SysWoW64 \regsvr32< full path =of =the = DLL = >< /全>

hi all,
i am developing an attendance program. in that i need to copy one dll in system folder and register is necessary. windows xp i have not getting any problem. where as win 7 os it is very difficult to copy dll with administrator privileges. please guide me how to copy and register the dll in win 7 as administrator using visual studio.

thanking you
jbcs raju

解决方案

Run regsvr32 in an elevated command prompt.

If you are facing issues with 64 bit machines, try
Open an elevated command prompt.
If the 32-bit DLL is in the %systemroot%\System32 folder, move it to the %systemroot%\SysWoW64 folder.
Run the following command
%systemroot%\SysWoW64\regsvr32 <full path="" of="" the="" dll=""></full>


这篇关于以管理员身份在Windows 7中注册一个dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆