Hello,

I need to fix a bug in a Delphi 6 application, which uses a home-made COM
server DLL (Automation server). In order to fix the bug, I must add a new
interface to the TLB of the server DLL and have one of the CoClasses support
the interface.

The drawback of this is, that the customers now need to register the COM
server again on each workstation... or don't they? The problem is, that due
to security issues, often only an administrator can make entries in the HKCR
or HKLM roots of the registry and so the customer's IT department won't like
this fix.

Now my question is, whether they really have to explicitly register this COM
server again. I didn't change the TLB version number, so the Library ID as
well as all the CLSID's are in place already. I only added a new interface
to the TLB, but to use that, the application simply calls QueryInterface and
I don't see why a new registration is needed. The COM server is only
intended to be used by my own application and not by, say VBA (I don't even
know if this remark is even relevant).

On my own machine, I just rebuild the COM server and I did not re-register
it. After fixing the application, it works. So it doesn't seem necessary to
register again.

My only doubt comes from the fact that I do find interfaces in the registry
under the HKCR\Interfaces key. What are they used for? Do I need such a
registration some way for my new interface?

Have a nice day!

Peter Laman
Senior Software Engineer
Lance ICT Group
Roermond, the Netherlands
http://www.lance-safety.com

__________________________________________________
Delphi-Talk mailing list -> Delphi-Talk@elists.org
http://www.elists.org/mailman/listinfo/delphi-talk

Reply via email to