Registering DLL and ActiveX controls from Delphi code
However, in some situations, for example when you import an ActiveX control into your project, you'll need to make sure that this ActiveX control is registered on your users machines. If the control is not registered there, an EOleSysError exception will be displayed to your user eyes.
Read the full article to learn how to Register DLL and ActiveX controls from Delphi code.
Related:


Comments
Nothing interesting… Registering ActiveX controls from Delphi under Vista is a challenge. I’ve managed to do so under Vista admin/non-admin user with UAC turned on/off without writing a single line in Delphi. See windows manifest file syntax for details.
Not a great idea to register ActiveX inside your application! Users may not have rights to do so. All of our 20,000+ users do NOT have rights and would get an error dialog.
Registering in system registry is a bad way… It’s better to register in virtual registry, as shown in this article. This article
how to use ActiveX without real registration
it’s better and easy approach.