[DUG] Registering DLL's
Todd Martin
todd.martin.nz at gmail.com
Tue May 11 18:46:30 NZST 2021
You haven't given much detail to go on.
Presumably you're registering your COM objects in the Initialization
section of your Delphi units. What else is happening there that might be
starting other threads?
I would comment out everything except the Factory.Create() methods to
narrow down the source of the problem.
On Tue, May 11, 2021 at 5:46 PM Jan Bakuwel <jan.bakuwel at omiha.com> wrote:
> Hi David,
>
> On 11/05/21 2:01 pm, David O'Brien wrote:
> > We have multiple DLL's that get registered on install for one of our
> products. Lately for 2 out of 1000's of users the registration fails for
> one of the DLL's.
> >
> > The particular DLL can't be registered manually, regsvr32 hangs. It
> drops back to the command line after 3 or more seconds, but no messages,
> needs to be killed in task manager.
> >
> > I would suspect it to be the DLL that's at fault, but logging on as
> another user on the same machine it registers fine and works for that user.
> Even though it's registered by the second user, it hangs when trying to be
> loaded by the original user. All the other DLL's register and load fine, so
> I don't think it's permissions.
>
> Could it be an issue with the registry entries specific for that user?
>
> You could run scanreg.exe and see if that reveals anything.
>
> I trust you checked the event logs and didn't see anything in there.
>
>
> https://support.microsoft.com/en-us/topic/description-of-the-windows-registry-checker-tool-scanreg-exe-aaae4323-daa2-8477-5a4e-2a273779fdf0
>
> cheers,
> Jan
>
>
> --
>
> Omiha Systems Ltd
> NEW ZEALAND
>
> For support
> please email support at omiha.com
> or browse to http://support.omiha.com
>
> For urgent support
> please call
>
> p +64 9 950 3007
> m +64 22 103 9151
>
> _______________________________________________
> NZ Borland Developers Group - Delphi mailing list
> Post: delphi at listserver.123.net.nz
> Admin: http://delphi.org.nz/mailman/listinfo/delphi
> Unsubscribe: send an email to delphi-request at listserver.123.net.nz with
> Subject: unsubscribe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://listserver.123.net.nz/pipermail/delphi/attachments/20210511/c30e11b0/attachment.html
More information about the Delphi
mailing list