zoukankan      html  css  js  c++  java
  • 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:windowssystem

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

    Example : Regsver32.exe c:windowssystemgif89.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:windowssysWOW64 folder
    - go to accessories and Command Prompt
    - log on command proimpt as Administrator
    - from command prompt write full pathway
    - example : c:windowssysWOW64Regsver32.exe c:windowssysWOW64gif89.dll

    ELSE :
    - be sure to Unregister your half register attempts
    - place an /u inbetween the regsvr32 & the file
    - example : Regsver32.exe /u c:windowssystemgif89.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
  • 相关阅读:
    MFC中char*,string和CString之间的转换(待补充)
    Gem/Bundle/Rvm
    Ruby开发入门
    Maven原型骨架及常见问题
    Nginx Upstream模块源码分析(上)
    mysqldump的几个主要选项探究
    探索Antlr(Antlr 3.0更新版)
    Maven2插件开发入门
    说说家乡的互联网-沈阳
    Nginx模块之SessionSticky
  • 原文地址:https://www.cnblogs.com/elonlee/p/3525071.html
Copyright © 2011-2022 走看看