ASH84

Software Engineer/Developer, co-founder of Payhere. Ex-Banksalad. Intereseted in iteroperability, bootstrap company, writting.

[C#] DLL λ“±λ‘ν•˜κΈ° regsvr32.exe

created:2012-07-28
updated:2017-04-27
edit

C# 코딩을 ν• λ•Œ VS2010 μ—μ„œ 주둜 μž‘μ—…μ„ ν•˜κ²Œ λ˜λŠ”λ° μž‘μ—…μ„ ν•˜λ‹€λ³΄λ©΄ DLL을 μ°Έμ‘°μΆ”κ°€ ν•΄μ„œ λ„£κ²Œ λœλ‹€. κ·ΈλŸ°λ°μ„œλ²„μ—μ„œ λŒλ¦¬κ±°λ‚˜, λ°°ν¬μ‹œμ—λŠ” ν•΄λ‹Ή DLL듀을 λ ˆμ§€μŠ€νŠΈλ¦¬μ— 등둝해 μ£Όμ–΄μ•Ό ν•œλ‹€. κ·Έλ•Œ μ“°λŠ” λͺ…λ Ήμ–΄κ°€ regsvr32.exe 이닀.

λ‹€μŒμ€ μœ„ν‚€ν”Όλ””μ•„μ— μ“°μ—¬μžˆλŠ” regsvr32 에 λŒ€ν•œ λ‚΄μš©μ΄λ‹€.Β 

In computing, regsvr32 (Microsoft Register Server) is a command-line utility in Microsoft Windows operating systems for registering and unregistering DLLs and ActiveX controls in the Windows Registry.[1]  
To be used with regsvr32, a DLL must export the functions DllRegisterServer and DllUnregisterServer.[2]  
regsvr32 in Windows is comparable to ldconfig in Linux.  

μ‚¬μš©λ²•μ€ κ°„λ‹¨ν•˜λ‹€.Β 

λ“±λ‘ν•˜λ €λ©΄, λ‹€μŒκ³Ό 같이 μ‚¬μš©ν•˜λ©΄ λœλ‹€.Β 

regsvr32 νŒŒμΌμ΄λ¦„.dll (dll 등둝)

regsvr32 νŒŒμΌμ΄λ¦„.dll /u (dll μ‚­μ œ)  

이미 등둝이 λ˜μ–΄ μžˆλ‹€κ³  ν•˜λ”λΌλ„, λ“±λ‘μ‹œ λ‹€μ‹œ λ“±λ‘λ˜λŠ” 방식이닀. 즉, λ“±λ‘λ˜μ–΄ μžˆλ‹€κ³  ν•˜λ”λΌλ„ 등둝λͺ…λ Ή μ‹€ν–‰μ‹œ, 이미 λ“±λ‘λ˜μ–΄ μžˆλ‹€κ³ λŠ” μ•Œλ €μ£Όμ§€ μ•ŠλŠ”λ‹€.

μΆ”κ°€μ μœΌλ‘œ, 64bit μ—μ„œ Dll λ“±λ‘μ‹œ λ¬Έμ œκ°€ μƒκΈΈμˆ˜ μžˆλŠ”λ°, κ·Έ 뢀뢄에 λŒ€ν•΄μ„œλŠ” msdn λ§ν¬μ—μ„œ κ°€μ΄λ“œλ₯Ό ν•΄μ£Όκ³  μžˆλ‹€. http://support.microsoft.com/kb/282747/ko


#c# DLL 등둝  #dev  #dll 등둝  #MSDN  #regsvr32.exe