top button
Flag Notify
    Connect to us
      Facebook Login
      Site Registration Why to Join

Facebook Login
Site Registration

What regsvr32 exe in .NET and what is the use of it?

+2 votes
What regsvr32 exe in .NET and what is the use of it?
posted Oct 3, 2013 by Atul Mishra

Share this question
Facebook Share Button Twitter Share Button Google+ Share Button LinkedIn Share Button Multiple Social Share Button

2 Answers

+3 votes
Best answer

Regsvr32 is the command-line tool that registers .dll files as command components in the registry. You can use gacutil.exe also when you used a strong name key pair else use regsvr32. Both are used only to register dll files and not com components

answer Oct 3, 2013 by Sunil Maturi
+1 vote

regsvr32 is windows equivalent to ldconfig in Linux. It is a command-line utility in Microsoft Windows operating systems for registering and unregistering DLLs and ActiveX controls in the Windows Registry.

One important fact is to use regsvr32, a DLL must export the functions DllRegisterServer and DllUnregisterServer

regsvr32 abc.dll for registering a file
regsvr32 /u abc.dll for unregistering a file

answer Oct 3, 2013 by anonymous
Contact Us
+91 9880187415
#280, 3rd floor, 5th Main
6th Sector, HSR Layout
Karnataka INDIA.