DelphiFAQ Home Search:



Databases
InterBase, MS-SQL, mysql, Oracle
Programming
C#, C++, Delphi, Java,
JavaScript, perl, php, Visual Basic, VBScript
Linux
Apache, Network, Shell
Web Publishing
JavaScript, perl CGI, VBScript, Web Hosting
Windows
Apache, File Types, Internet Explorer,
Network, Printing, Processes
Outside the Cube
Auto, Computer Hardware,
Finances, Dating Scams,
Household, Male Dating Scammers,
Other Scams, Travel

Featured Article

Register (install) a DLL on Windows from the command line?

Question:

How can I register (install) a DLL on Windows from the command line?

Answer:

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:
 regsvr32.exe  MyLibrary.dll
 
 
 // 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
 

Generated 8:03:07 on Dec 10, 2018