注册 登录
明经CAD社区 返回首页

jicqj的个人空间 http://www.mjtd.com/?310428 [收藏] [复制] [分享] [RSS]

日志

关于vb6创建的active dll文件在64位win 7系统上注册

已有 1105 次阅读2014-1-24 16:48 |系统分类:应用| active

由于vb6创建的是32位的 dll文件,百度找到如下方法 注册成功
windowsdllcommandsystemdialogextension 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\ 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

路过

雷人

握手

鲜花

鸡蛋

全部作者的其他最新日志

评论 (0 个评论)

facelist doodle 涂鸦板

您需要登录后才可以评论 登录 | 注册

小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 )  
©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途

GMT+8, 2024-4-26 11:38 , Processed in 0.186675 second(s), 15 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

返回顶部