It is possible that your application requires this DLL to be on the search path. In this case you could move it to \Windows\System32
Or the application requires it to be in the application directory.
Now to register it, you need to move to the directory where the DLL is located and use the commandline tool RegSvr32. This tool should be on your search path (in \Windows\System32).
At the command prompt do the following:
// to register it:
// if you don’t like the dialog box popping up afterwards:
// option /s means ‘silent’
regsvr32.exe /s MyLibrary.dll
// if you want to unregister (uninstall) it later:
regsvr32.exe /u MyLibrary.dll
// silent version
regsvr32.exe /u /s MyLibrary.dll
A DLL file, also known as Dynamic Link Library, is a file containing different functions which are mostly used across multiple applications. In order to unregister a dll file to troubleshoot a problem in Windows XP or Vista, follow these instructions:
1. OPEN COMMAND PROMPT:
- From START menu select RUN option.
- Type “cmd” (without the quotation marks) . This calls up the Windows Command Prompt.
- Click OK. (Where is RUN in Windows Vista?)
2. NAVIGATE TO THE EXACT LOCATION OF DLL:
- Type “regsvr32 /u filename.dll” where “filename” is the name of the DLL that you are trying to unregister.
- Press ENTER.
- After you press ENTER, the confirmation window stating “DllUnregisterServer in (file name) succeeded” will be displayed.
Please keep in mind that this involves system modification and can be highly risky.
It’s always recommended to keep a system backup handy, in case things go wrong.
Filed under: Teknik