Ngemuva kokufaka izinhlelo noma imidlalo ehlukahlukene, ungahlangabezana nesimo lapho uma uvula khona iphutha "Uhlelo ngeke luqaliswe ngoba i-DLL edingekayo ayikho ohlelweni." Naphezu kweqiniso lokuthi izinhlelo ezisebenza ngeWindows zivame ukubhalisa imitapo yolwazi ngemuva, ngemuva kokulanda bese ubeka ifayela lakho le-DLL endaweni efanele, kwenzeka iphutha, futhi uhlelo aluboni nje. Ukulungisa lokhu, udinga ukubhalisa umtapo wezincwadi. Ukuthi lokhu kungenziwa kanjani kuzochazwa kamuva kulesi sihloko.
Izinketho zokuxazulula inkinga
Kunezindlela eziningana zokulungisa le nkinga. Ake sibheke ngamunye wabo ngemininingwane eminingi.
Indlela yoku-1: Umphathi we-OCX / DLL
Umphathi we-OCX / DLL uhlelo oluncane olungasiza ukubhalisa umtapo wezincwadi we-OCX noma ifayela.
Landa i-OCX / DLL Manager
Lokhu uzodinga:
- Chofoza entweni yemenyu "Bhalisa i-OCX / DLL".
- Khetha uhlobo lwefayela oyolubhalisa.
- Kusetshenziswa inkinobho "Phequlula" khombisa indawo okukhona kuyo i-dll.
- Cindezela inkinobho "Bhalisa" futhi uhlelo uqobo luzobhalisa ifayela.
Umphathi we-OCX / DLL uyakwazi futhi ukubhalisa umtapo wezincwadi, ngoba lokhu udinga ukukhetha into emenyu "Susa ukubhalisa i-OCX / DLL" futhi ngemuva kwalokho yenza imisebenzi efanayo njengasekuqaleni. Ungadinga umsebenzi wokukhansela ukuqhathanisa imiphumela lapho ifayili licushiwe nalapho linqanyulwa, kanye nangesikhathi kususwa amanye amagciwane ekhompyutha.
Ngesikhathi senqubo yokubhalisa, uhlelo lungakunika iphutha ukusho ukuthi amalungelo omlawuli ayadingeka. Kulokhu, udinga ukuqala uhlelo ngokuchofoza ngakwesokudla kulo, bese ukhetha "Qalisa njengomlawuli".
Indlela 2: Run Imenyu
Ungabhalisa i-DLL usebenzisa umyalo Gijima kumenyu yokuqala yohlelo lokusebenza lweWindows. Ukuze wenze lokhu, uzodinga ukwenza lezi zinto ezilandelayo:
- Cindezela isinqamuleli sekhibhodi "IWindows + R" noma khetha into Gijima kusuka kumenyu Qala.
- Faka igama lohlelo olizobhalisa umtapo wezincwadi - regsvr32.exe, kanye nendlela lapho kutholakala khona ifayili. Umphumela kufanele ube njengalokhu:
- Qhafaza "Ngena" noma inkinobho "Kulungile"; uhlelo luzokunikeza umlayezo wokuthi ngabe umtapo wezincwadi ubhaliswe ngempumelelo noma cha.
regsvr32.exe C: Windows System32 dllname.dll
lapho igama langempela igama lefayela lakho.
Lesi sibonelo sikulungele uma isistimu yokusebenza ifakiwe ku-drive C. Uma isendaweni ehlukile, kuzodingeka ukuthi ushintshe incwadi yokushayela noma usebenzise umyalo:
% systemroot% System32 regsvr32.exe% windir% System32 dllname.dll
Kule nguqulo, uhlelo uqobo luthola ifolda lapho une-OS efakiwe bese luqala ukubhaliswa kwefayela le-DLL elicacisiwe.
Endabeni yohlelo lwe-64-bit, uzoba nezinhlelo ezimbili ze-regsvr32 - eyodwa ikufolda:
C: Windows SysWOW64
eyesibili isendleleni:
C: Windows System32
Lawa ngamafayela ahlukile asetshenziswa ngokuhlukile ezimeni ezifanele. Uma une-64-bit OS, futhi ifayela le-DLL lingama-32-bit, khona-ke ifayela lomtapo wolwazi ngokwalo kufanele lifakwe kufolda:
IWindows / SysWoW64
futhi umyalo uzovele ubukeke kanjena:
% windir% SysWoW64 regsvr32.exe% windir% SysWoW64 dllname.dll
Indlela Yesithathu: Umugqa Womyalo
Ukubhalisa ifayela ngentambo yomyalo akuhlukile kakhulu kunketho yesibili:
- Khetha iqembu Gijima kumenyu Qala.
- Faka insimu ukuze ungene cmd.
- Qhafaza "Ngena".
Uzobona iwindi lapho uzodinga ukufaka imiyalo efanayo nakwindlela yesibili.
Kufanele kuqashelwe ukuthi iwindi lomugqa womyalo linomsebenzi wokunamathisela umbhalo okopishiwe (ukuze kube lula). Ungathola le menyu ngokuchofoza kwesokudla kwisithonjana ekhoneni eliphezulu kwesokunxele.
Indlela 4: Vula nge
- Vula imenyu yefayela ozobhalisa ngalo ngokuchofoza ngakwesokudla kulo.
- Khetha Vula nge kumenyu evelayo.
- Qhafaza "Ukubuka konke" bese ukhetha uhlelo lwe- regsvr32.exe kusuka enkombeni elandelayo:
- Vula i-DLL ngalolu hlelo. Uhlelo luzokhombisa umlayezo mayelana nokubhalisa ngempumelelo.
IWindows / System32
noma uma kwenzeka usebenza ku-64-bit system nefayela le-DLL le-32:
IWindows / SysWow64
Kungenzeka kube namaphutha
"Ifayela alihambelani nenguqulo efakiwe yeWindows" - lokhu kusho ukuthi kungenzeka ukuthi uzama ukubhalisa i-DLL engama-64 ohlelweni olunama-32 noma okuphambene nalokho. Sebenzisa umyalo ofanele ochazwe ngendlela yesibili.
"Iphoyinti lokungena alitholakali" - akuwona wonke ama-DLL angabhaliswa, amanye awo awawusekeli umyalo we-DllRegisterServer. Futhi, ukuvela kwephutha kungahle kudalwe ukuthi ifayela selivele libhalisiwe ngohlelo. Kuneziza ezisabalalisa amafayela okungeyona imitapo yolwazi. Kulesi simo, kusobala, akukho lutho olubhalisiwe.
Ekuphetheni, kufanele kuthiwe umnyombo wazo zonke izinketho eziphakanyisiwe zinye futhi ziyafana - lezi yizindlela ezihlukile zokuqalisa umyalo wokubhalisa - kulungele noma ngubani.