Bayan shigar da shirye-shirye ko wasanni daban-daban, zaku iya fuskantar wani yanayi inda idan kun kunna kuskuren "Ba za a iya gabatar da shirin ba saboda DLL da ake buƙata ba a cikin tsarin ba." Duk da gaskiyar cewa tsarin aiki na Windows yawanci suna yin rijistar ɗakunan karatu a bango, bayan saukarwa da sanya fayil ɗin DLL ɗinku a inda ya dace, har yanzu kuskure ya faru, kuma tsarin kawai baya ganinsa. Don gyara wannan, kuna buƙatar yin rijistar ɗakin karatun. Ta yaya za a yi wannan za a bayyana daga baya a wannan labarin.
Zaɓuɓɓuka don warware matsalar
Akwai hanyoyi da yawa don gyara wannan matsalar. Bari mu bincika kowane ɗayansu daki-daki.
Hanyar 1: Manajan OCX / DLL
Manajan OCX / DLL karamin tsari ne wanda zai iya taimakawa wajen yin rajistar dakin karatun OCX ko fayil.
Zazzage Mai sarrafa OCX / DLL
Don wannan kuna buƙatar:
- Danna abun menu "Yi rijista OCX / DLL".
- Zaɓi nau'in fayil ɗin da za ku yi rajista.
- Yin amfani da maɓallin "Nemi" nuna wurin dll.
- Latsa maɓallin "Rijista" kuma shirin da kansa zai yi rajista fayil ɗin.
Manajan OCX / DLL yana da ikon yin rajistar ɗakin karatu, don wannan kuna buƙatar zaɓar abun menu "Raba rajista OCX / DLL" kuma daga baya suna yin ayyukan guda ɗaya kamar yadda a farkon yanayin. Wataƙila kuna buƙatar aikin cirewa don kwatanta sakamako lokacin da fayil ɗin ke kunne da lokacin da aka cire haɗin, da kuma yayin cire wasu ƙwayoyin cuta ta kwamfuta.
Yayin aiwatar da rajista, tsarin na iya ba ku kuskure yana cewa ana buƙatar haƙƙin mai gudanarwa. A wannan yanayin, kuna buƙatar fara shirin ta danna-kan dama, kuma zaɓi "Run a matsayin shugaba".
Hanyar 2: Menu na gudu
Kuna iya yin rijistar DLL ta amfani da umarnin Gudu a cikin fara menu na Windows aiki tsarin. Don yin wannan, kuna buƙatar aiwatar da waɗannan ayyukan:
- Latsa gajeriyar hanya keyboard "Windows + R" ko zaɓi abu Gudu daga menu Fara.
- Shigar da sunan shirin wanda zai yi rijistar ɗakin karatu - regsvr32.exe, da kuma hanyar da fayil ɗin yake. Sakamakon ya zama kamar haka:
- Danna "Shiga" ko maballin "Ok"; tsarin zai baku sako game da ko an yi rajista da laburaren cikin nasara ko a'a.
regsvr32.exe C: Windows System32 dllname.dll
inda sunan dllname sunan fayil dinka.
Wannan misali ya dace a gare ku idan an shigar da tsarin aiki akan abin hawa C. Idan ya kasance a wani wuri, zaku buƙaci canza wasiƙar tuƙi ko amfani da umarnin:
% systemroot% System32 regsvr32.exe% windir% System32 dllname.dll
A wannan sigar, shirin da kansa ya sami babban fayil inda aka shigar OS ɗinku kuma yana fara rajista na fayil ɗin DLL da aka ƙayyade.
Game da tsarin 64-bit, zaku sami shirye-shiryen regsvr32 guda biyu - ɗayan yana cikin babban fayil:
C: Windows SysWOW64
ɗayan kuma biyun:
C: Windows System32
Waɗannan fayiloli daban-daban ne waɗanda ana amfani dasu daban-daban don halayen mu. Idan kuna da OS 64-bit OS, kuma fayil ɗin DLL 32-bit ne, to, fayil ɗin ɗakin karatu da kanta ya kamata a sanya shi a babban fayil:
Windows / SysWoW64
kuma umarnin zai riga ya yi kama da wannan:
% windir% SysWoW64 regsvr32.exe% windir% SysWoW64 dllname.dll
Hanyar 3: Layin doka
Yin rijistar fayil ta layin umarni ba ya bambanta da zaɓi na biyu:
- Zabi kungiya Gudu a cikin menu Fara.
- Shigar a fagen don shiga cmd.
- Danna "Shiga".
Zaka ga taga inda zaku buƙaci shigar da umarni iri ɗaya kamar yadda a zaɓin na biyu.
Ya kamata a lura cewa taga layin umarni yana da aikin yin rubutun da aka kofe (don saukaka). Kuna iya samun wannan menu ta danna sauƙin kan icon a kusurwar hagu na sama.
Hanyar 4: Bude tare da
- Buɗe menu na fayil ɗin da za ku yi rajista ta danna-kan dama.
- Zaɓi Bude tare da a menu wanda ya bayyana.
- Danna kan "Sanarwa" sannan ka zabi tsarin regsvr32.exe daga tsarin mai zuwa:
- Bude DLL tare da wannan shirin. Tsarin zai nuna sako game da rajista mai nasara.
Windows / System32
ko kuma idan kuna aiki akan tsarin 64-bit da fayil ɗin DLL 32-bit:
Windows / SysWow64
Akwai kurakurai masu yiwuwa
"Fayil ɗin ba ta dace da sigar Windows ɗin da aka shigar ba" - wannan yana nuna cewa wataƙila kuna ƙoƙarin yin rijistar DLL 64-bit a cikin tsarin 32-bit ko akasin haka. Yi amfani da umarnin da ya dace da aka bayyana a cikin hanyar ta biyu.
"Ba a sami wurin shiga ba" - ba duk DLLs za'a iya yin rijista ba, wasu daga cikinsu kawai basa goyan bayan umarnin DllRegisterServer. Hakanan, abin da ya faru na kuskure na iya faruwa ta dalilin cewa fayil ɗin tuni an riga an yi rijista da tsarin. Akwai shafukan yanar gizo da suke rarraba fayilolin da ba ɗakunan karatu ba da gaske. A wannan yanayin, ba shakka, babu abin da za a yi rajista.
A ƙarshe, dole ne a faɗi cewa jigon dukkanin zaɓuɓɓukan da aka gabatar ɗayan ɗayan iri ɗaya ne - waɗannan sune hanyoyi daban-daban don ƙaddamar da umarnin rajista - ya fi dacewa da kowa.