You have three options, the first and the second work in any windows
version, the third only works with XP / 2003
First option: Make a setup program which must call to DllRegisterSever
function exported by your ActiveX.
Second option: The client can call DllRegisterSever before begin to use
your ActiveX component so you ensure that your component is registrered.
Third option: Use registration free COM
http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx

Signature
Un saludo
Rodrigo Corral González [MVP]
FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org
Raed Sawalha - 15 Jun 2005 08:10 GMT
May you help me with the first choice.
for the first choice I'm using VS .NET 2003 shoud I create a setup project
or what? and where should I put the DllRegisterServer?
> You have three options, the first and the second work in any windows
> version, the third only works with XP / 2003
[quoted text clipped - 7 lines]
> Third option: Use registration free COM
> http://msdn.microsoft.com/msdnmag/issues/05/04/RegFreeCOM/default.aspx
Rodrigo Corral [MVP] - 15 Jun 2005 11:01 GMT
You can use some setup creation application like innosetup or so. There are
many free available. Or you can create a setup project inside VS 2003.

Signature
Un saludo
Rodrigo Corral González [MVP]
FAQ de microsoft.public.es.vc++
http://rcorral.mvps.org