windows7 64位下运行 regsvr32 注册ocx或者dll的方法

来源:转载
 
it won't work for you unless you have some form of Visual Basic tools loaded on your system
: COMDLG32.OCX : Common Dialog -- this allows you to use code to open up a dialog box , select a file , and the commit that file.... then some more code will actually run the regsvr32.exe
:
1. Skip this Helper from above

2. put your DLL file into c:\windows\system

3. go to RUN or command promt and type : Regsver32.exe c:\windows\system\ <place extension="" file="" here="" name="" with="">

Example : Regsver32.exe c:\windows\system\gif89.dll

4. that's it

5. Windows XP will work

6. Windows 7 is a differnt beasty (writting 32bit DLL to 64 Windows7)
- place the DLL in the c:\windows\sysWOW64 folder
- go to accessories and Command Prompt
- log on command proimpt as Administrator
- from command prompt write full pathway
- example : c:\windows\sysWOW64\Regsver32.exe c:\windows\sysWOW64\gif89.dll

ELSE :
- be sure to Unregister your half register attempts
- place an /u inbetween the regsvr32 & the file
- example : Regsver32.exe /u c:\windows\system\gif89.dll.
.
LAST :
- It may be that in the even though you register your DLL
- your 64-bit program active x controls on your 64-bit computer cannot run the 32-bit DLL anyway

转载于:https://www.cnblogs.com/elonlee/p/3525071.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值