Nīnau nā mea hoʻohana pehea e hoʻopaʻa inoa ai kahi file dll ma Windows 7 a me 8. ʻO ka manawa maʻamau, ma hope o ko lākou loaʻa ʻana i nā hewa e like me "Ke hoʻolauna ʻia kahi papahana ʻaʻole hiki ke loaʻa nā dll pono i ka kamepiula." E kamaʻilio mākou e pili ana i kēia.
I ka ʻoiaʻiʻo, ʻo ke kākau inoa ʻana i kahi waihona waihona i ka ʻōnaehana ʻaʻole ia he hana paʻakikī (e hōʻike wau i ka nui o nā ʻano he ʻekolu mau ʻano hana hoʻokahi) - ʻo ke ʻoiaʻiʻo, hoʻokahi papa hana wale nō. ʻO ka mea wale nō ka mea iā ʻoe ke kuleana hoʻomalu Windows.
Eia nō naʻe, aia kekahi mau nuances - ma ka laʻana, ʻaʻole pono ke hoʻopaʻa ʻia ʻana o ka DLL e hoʻopakele iā ʻoe mai ka hewa "ʻaʻole ʻike ka waihona i ka kamepiula", a ua ʻike ʻia ka hewa o RegSvr32 me ka manaʻo ʻole i kūlike ka pākahi me ka polokalamu Windows ma kēia kamepiula a i ʻole ka loaʻa ʻana o ka palapala maLLSLServer. ʻAʻole ia he kumu kuhi hewa ʻoe (e wehewehe wau i ka mea e wehewehe ʻia kēia ma ka hope o ka moʻolelo).
ʻEkolu mau ala e hoʻopaʻa inoa ai i kahi DLL ma ka OS
Ke wehewehe nei i nā hana aʻe, manaʻo wau ua loaʻa ʻoe i kahi āu e makemake ai e kope i kāu waihona a ua loaʻa ka DLL i ka folder System32 a i ʻole SysWOW64 folder (a i ʻole ma kahi ʻē aʻe inā i noho ʻo ia ma laila).
Kahakaha: ma lalo e wehewehe mākou i pehea e kākau inoa ai i kahi DLL e hoʻohana ana i ka regsvr32.exe, eia naʻe ke kahakiʻi nei au i kou manaʻo i ka mea inā loaʻa kāu palapala 64-bit, a laila loaʻa iā ʻoe ʻelua regsvr32.exe - hoʻokahi i loko o ka waihona C: Windows SysWOW64 ʻo ka lua ka C: Windows System32. A o kēia mau ʻokoʻa like, me ka 64-bit i loaʻa i ka folder System32. ʻAe wau i ka hoʻohana ʻana i ke ala holo piha i regsvr32.exe i kēlā me kēia o nā ala, a ʻaʻole wale ka inoa file, e like me kaʻu i hōʻike ai i loko o nā hiʻohiʻona.
ʻO ke ʻano hana mua e haʻi ʻia ma ka Pūnaewele ʻoi aku ka pinepine ma mua o ka poʻe ʻē aʻe a paʻa i ka ʻōlelo aʻe:
- E kaomi i ke pihi Windows + R a i ʻole ke koho "Holo" mai ka hāmeʻa Windows 7 hoʻomaka (inā ʻaʻole, ʻoiaʻiʻo, ua hoʻohuli ʻia kāna hōʻike).
- Kāhea regsvr32.exe path_to_file_dll
- E kaomi OK a i ke komo.
Ma hope o kēlā, inā pono nā mea a pau, pono ʻoe e ʻike i kahi leka e ʻōlelo ana ua hoʻopaʻa inoa ʻia ka hale waihona puke. Akā, me kahi kiʻekiʻe nui e ʻike ʻoe i kekahi ʻaoʻao ʻē aʻe - Ua hoʻouka ʻia ka pāhana, akā ʻaʻole i ʻike ʻia ka wahi komo komo ʻo DllankanServer a ʻike pono ia i kāu DLL nā faila kūpono (e like me kaʻu i ʻōlelo ai, e kākau wau no kēia ma hope aʻe).
ʻO ke ala ʻelua ʻo ke holo ʻana i ka laina kauoha e noho luna a kākau hoʻi i nā kauoha like mai ka pauku mua.
- E holo i ka laina kauoha e Luna Hoʻohui. Ma Windows 8, hiki iā ʻoe ke pēpē iā Win + X, a laila e koho i ka waihona papaʻaina i makemake ʻia. Ma Windows 7, hiki iā ʻoe ke ʻike i ka laina kauoha ma ka papa Hoʻomaka, kaomi pololei ma ia mea a koho i ka "Holo e hoʻokele".
- E hoʻokomo i kahi kauoha regsvr32.exe path_to_library_dll (kahi kumu āu e ʻike ai i ke kiʻi paʻi).
Eia hou, mea hiki paha iā ʻoe ke hoʻopaʻa inoa i ka DLL ma ka hoʻonohonoho.
A ʻo ke ʻano hana hope loa, i hoʻohana ʻia i kekahi mau hihia:
- Kaomi pololei ma ka DLL āu i makemake ai e hoʻopaʻa inoa a koho i ka helu waihona "Open me."
- Kaomi "Nānā" a loaʻa i ka faile regsvr32.exe ma ka Windows / System32 a i ʻole Windows / SysWow64 folder, wehe i ka DLL me ia.
ʻO ke kumu o nā ala i wehewehe ʻia ke kau inoa ʻana i kahi DLL i ka ʻōnaehana ka mea like, he mau ala liʻiliʻi wale nō e holo ai i ia kauoha - he mea maʻalahi loa ia. A no kēia he aha ʻoe e kū ʻole i ka pōmaikaʻi.
No ke aha hiki ʻole ke hoʻopaʻa inoa ʻana i ka DLL
No laila, ʻaʻohe mea o kāu faila DLL, no laila ke kumu ʻoe e hoʻomaka ai i ka pāʻani a i ʻole ka polokalamu āu e ʻike ai i kahi hewa, ua hoʻoiho ʻoe i kēia faile mai ka Pūnaewele a ho'āʻo ʻoe e kākau inoa, akā ʻaʻole i komo ka inoa komo DllaptarServer a i ʻole nā kāmeʻa e kūlike me ka mana o kēia manawa o Windows, a mea paha ʻē, ʻo ia hoʻi, ke kākau inoa ʻana he DLL ʻaʻole hiki.
No ke aha e hana nei (ma kēia hope aku e pili ana i ka hoʻoponopono ʻana):
- ʻAʻole hoʻoili ʻia nā faila DLL e kākau inoa ʻia. I mea e hoʻopaʻa inoa ʻia ai ma kēia ʻano, pono e loaʻa ke kākoʻo no ka hana like me DllRegisterServer. ʻO kekahi manawa ua ʻokoʻa ka hewa e ka mea kākau ʻia i ka hoʻopaʻa ʻia ʻana.
- ʻO kekahi mau pūnaewele e hāʻawi ana e hoʻoiho i nā DLL, aia, nā waihona dummy me ka inoa āu e ʻimi nei a ʻaʻole hiki ke hoʻopaʻa inoa, no ka mea, ʻaʻole maoli kēia hale waihona.
A ʻo kēia e pili ana pehea e hoʻoponopono ai:
- Inā ʻoe he papahana a papa inoa i kāu DLL, e ho'āʻo iā regasm.exe
- Inā ʻoe he mea hoʻohana a ʻaʻole hoʻomaka kahi mea i hōʻike ʻia e nalo ai ka DLL ma kāu kamepiula, e nānā i ka pūnaewele no ke kiʻi a ʻaʻole i kahi e lawe ai. ʻO ka maʻamau, ʻike ʻoe i kēia, hiki iā ʻoe ke hoʻoiho i ka installer mana, nāna e hoʻopuka i nā hale waihona puke mua a hoʻopaʻa inoa iā lākou ma ka ʻōnaehana - ma ka laʻana, no ka nui ʻana o nā faila me kahi inoa e hoʻomaka ana me d3d, hoʻouka wale iā DirectX mai ka pūnaewele mana Microsoft, no msvc - kekahi o nā mana o ka Visual Studio Redistributable. (A inā ʻaʻole hoʻomaka kekahi pāʻani mai kahi kahawai, a laila e nānā i nā hōʻike antivirus, hiki iā ia ke kāpae i nā DLL pono, pinepine kēia me kekahi mau hale waihona hoʻololi).
- ʻO ka mea maʻamau, ma kahi o ka hoʻopaʻa inoa ʻana i kahi DLL, ka waiho ʻana o ka faila ma ka waihona like me ka mea i hoʻolei ʻia e exe ex fileable e koi ai i kēia hale waihona puke.
Ke hoʻopau nei wau i kēia, ke manaʻo nei ua oi aku kahi mea ma mua o ka mea maoli.