Tuesday, 19 June 2012

How to manually Register a DLL File in Windows

A DLL (aka Dynamic Link Library) is a file that may be used by various Windows applications to call various built-in functions to perform various actions.

You may sometimes get in a situation where a required DLL has not been registered automatically into the Windows registry by a dependent application and you may have to register the DLL manually. You can do this from the 'Run...' dialogue of the Start Menu (or alternatively from a command prompt); type regsvr32 followed by the DLL name or the fullpath to the DLL file followed by the file name,

for example regsvr32 C:\Program Files\MyApp\MyApp.dll

Be sure to leave a space between the regsvr32 command and the path+filename.

From Start Menu:



From Command Prompt:


You should get a confirmation dialogue box telling you the DLL was registred succesfully, for example "DllRegisterServer MyApp.dll succeeded"

No comments:

Post a Comment