1. Home
  2. Computing & Technology
  3. Delphi Programming
photo of Zarko Gajic
Zarko's Delphi Programming Blog

By Zarko Gajic, About.com Guide to Delphi Programming since 1998

Registering DLL and ActiveX controls from Delphi code

Thursday July 3, 2008
ARTICLES :: One of the features that make Delphi so popular is that when it comes to project deployment, you as a developer (in most cases) only need to send the executable file (exe) of your application.

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

July 3, 2008 at 5:57 am
(1) spark says:

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.

July 7, 2008 at 10:27 am
(2) Brian Gochanuer says:

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.

July 15, 2008 at 1:31 pm
(3) Bob Larsen says:

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.

Leave a Comment

Line and paragraph breaks are automatic. Some HTML allowed: <a href="" title="">, <b>, <i>, <strike>

Explore Delphi Programming
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. Delphi Programming

©2009 About.com, a part of The New York Times Company.

All rights reserved.