<output id="r87xx"></output>
    1. 
      
      <mark id="r87xx"><thead id="r87xx"><input id="r87xx"></input></thead></mark>
        •   

               當(dāng)前位置:首頁>管理咨詢>Regsvr32 用法和錯(cuò)誤消息的說明 查詢:
               
          Regsvr32 用法和錯(cuò)誤消息的說明

                      對(duì)于那些可以自行注冊(cè)的對(duì)象鏈接和嵌入 (OLE) 控件,例如動(dòng)態(tài)鏈接庫 (DLL) 文件或 ActiveX 控件 (OCX) 文件,您可以使用 Regsvr32 工具 (Regsvr32.exe) 來將它們注冊(cè)和取消注冊(cè)。

                      Regsvr32.exe 的用法

                      RegSvr32.exe 具有以下命令行選項(xiàng): Regsvr32 [/u] [/n] [/i[:cmdline]] dllname

                       /u - Unregister serverBR/
          /i - Call DllInstall passing it an optional [cmdline];
          when used with /u calls dll uninstall
          /n - do not call DllRegisterServer; this option must
          be used with /i

                      當(dāng)您使用 Regsvr32.exe 時(shí),它會(huì)嘗試加載該組件并調(diào)用它的 DLLSelfRegister 函數(shù)。如果此嘗試成功,Regsvr32.exe 會(huì)顯示一個(gè)指示成功的對(duì)話框。如果此嘗試失敗,Regsvr32.exe 會(huì)返回一條錯(cuò)誤消息,其中可能會(huì)包括一個(gè) Win32 錯(cuò)誤代碼。要查看 Win32 錯(cuò)誤代碼的列表,請(qǐng)參見下面的 Microsoft Web 站點(diǎn):

                      例如,要手動(dòng)注冊(cè) Sample.ocx ActiveX 控件,請(qǐng)?jiān)?MS-DOS 提示符處鍵入以下命令:
          c:regsvr32.exe sample.ocx

                      Regsvr32.exe 錯(cuò)誤消息

                      以下列表介紹了 RegSvr32 錯(cuò)誤消息和可能的原因。

                      Unrecognized flag:/invalid_flag

                      鍵入的標(biāo)志或開關(guān)組合無效(請(qǐng)參閱本文中的“Regsvr32.exe 的用法”一節(jié))。

                      No DLL name specified.

                      未包括 .dll 文件名(請(qǐng)參閱本文中的“Regsvr32.exe 的用法”一節(jié))。

                      Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.

                      Dllname 不是 .dll 或 .ocx 文件。例如,鍵入 regsvr32 wjview.exe 就會(huì)生成該錯(cuò)誤消息。

                      Dllname is not an executable file and no registration helper is registered for this file type.

                      Dllname 不是可執(zhí)行文件(.exe、.dll 或 .ocx)。例如,鍵入 regsvr32 autoexec.bat 就會(huì)生成該錯(cuò)誤消息。

                      Dllname was loaded, but the DllRegisterServer or DllUnregisterServer entry point was not found.

                      Dllname 可能未導(dǎo)出,或者內(nèi)存中可能有損壞的 Dllname 版本。請(qǐng)考慮使用 Pview 來檢測(cè)該文件并刪除它。

                      Dllname is not self-registerable or a corrupted version is in memory.

                      例如,鍵入 regsvr32 icwdial.dll 后就會(huì)返回該錯(cuò)誤消息,因?yàn)?Icwdial.dll 文件不能自行注冊(cè)。如果您懷疑內(nèi)存中有損壞的 Dllname 版本,請(qǐng)嘗試重新啟動(dòng)計(jì)算機(jī),或重新提取該文件的原始版本。如果您運(yùn)行的是 Windows NT,可能需要使用 Microsoft Windows NT Server 4.0 資源工具包 中的 Kill 或 Pview 工具。有關(guān)其他信息,請(qǐng)單擊以查看以下 Microsoft 知識(shí)庫文章:
          197155 如何終止孤立進(jìn)程

                      OleInitialize failed (or OleUninitialize failed).

                      Regsvr32 必須先初始化 COM 庫,然后才能調(diào)用所需的 COM 庫函數(shù)并在關(guān)閉時(shí)撤消對(duì)該庫的初始化。如果對(duì) COM 庫進(jìn)行初始化或撤消初始化的嘗試失敗,就會(huì)出現(xiàn)這些錯(cuò)誤消息。例如,Ole32.dll 文件可能已經(jīng)損壞,或者其版本有誤。

                      LoadLibrary("Dllname") failed.GetlastError returns 0x00000485

                      在 Winerror.h 中,0x00000485 = 1157 (ERROR_DLL_NOT_FOUND),表示“找不到運(yùn)行該應(yīng)用程序所需的某個(gè)庫文件”。例如,鍵入 regsvr32 missing.dll 后,如果找不到 Missing.dll 文件,就會(huì)返回該錯(cuò)誤消息。

                      LoadLibrary("Dllname") failed.GetLastError returns 0x00000002

                      在 Winerror.h 中,0x00000002 = 2 (ERROR_FILE_NOT_FOUND),表示“系統(tǒng)找不到指定的文件”。換言之,系統(tǒng)找不到相關(guān)的 DLL。例如,如果鍵入 regsvr32 icwdial.dll,而此時(shí)缺少 Tapi32.dll(依賴項(xiàng)),就會(huì)返回該錯(cuò)誤消息。

                      LoadLibrary("dskmaint.dll") failed.GetLastError returns 0x000001f

                      在 Winerror.h 中,0x000001f = 31 (ERROR_GEN_FAILURE),表示“附加到系統(tǒng)上的設(shè)備不能正常工作”。如果您嘗試注冊(cè) Win16 .dll 文件,就會(huì)發(fā)生此現(xiàn)象。例如,鍵入 regsvr32 dskmaint.dll 會(huì)返回該錯(cuò)誤消息。

                      DllRegisterServer (or DllUnregisterServer)in Dllname failed.返回代碼是:字符串

                      在 Winerror.h 中搜索字符串。
          Regsvr32.exe 和依賴項(xiàng)
          RegSvr32.exe 依賴于 Kernel32.dll、User32.dll 和 Ole32.dll 文件(在 Windows NT 中,還依賴于 Msvcrt.dll 和 Advapi32.dll 文件)。Regsvr32.exe 會(huì)加載您嘗試注冊(cè)或撤消注冊(cè)的文件及其所有依賴項(xiàng)。如果缺少必需的文件或者它們已損壞,該進(jìn)程可能會(huì)失敗。

                      您可以使用 Depends.exe 來確定您嘗試注冊(cè)或撤消注冊(cè)的文件的依賴項(xiàng)。在 Microsoft Windows 98 資源工具包 和 Microsoft Windows NT 4.0 資源工具包 支持工具中都提供了 Depends.exe。
          247024 Tools Included with the Microsoft Windows 98 Resource Kit


          銷售促銷之服務(wù)促銷汽車銷售技巧:怎樣擺脫低迷的困境
          銷售:客戶為什么要喜歡你?電子雜志營銷
          打造營銷團(tuán)隊(duì) 人人都是培訓(xùn)師營銷:經(jīng)濟(jì)危機(jī),外貿(mào)轉(zhuǎn)內(nèi)銷,急需營銷人才
          營銷之美色營銷電腦/計(jì)算機(jī)/Windows2000/XP啟動(dòng)過程詳解
          營銷人要有匪氣營銷理論進(jìn)化從4P到10P
          優(yōu)秀銷售是怎么成功的?(1)銀行服務(wù)文化探索(中國工商銀行一級(jí)支行行長管理培訓(xùn)系列)
          銷售團(tuán)隊(duì)管理方式總結(jié)營銷:要想獲取更大利益,就必須先征服客戶腦袋
          探討建立中日韓自貿(mào)區(qū)的重大意義營銷:學(xué)習(xí)外企如何老失?。?/a>
          信息發(fā)布:廣州名易軟件有限公司 http://www.jetlc.com
          • 勁爆價(jià):
            不限功能
            不限用戶
            1998元/年

          • 微信客服

            <output id="r87xx"></output>
          1. 
            
            <mark id="r87xx"><thead id="r87xx"><input id="r87xx"></input></thead></mark>
              • 欧美91成人网 | 成人毛片18女人免费 | 午夜福利天天射天天操 | 日韩黄页网站 | 久久屄 | 欧美日韩中文字幕在线视频 | 国产黄片手机在线观看 | 日韩一道视频在线观看 | 成人AV一区二区三区四区 | 插入 素芬 无码 |