<div dir="ltr"><div>You haven't given much detail to go on.<br></div><div><br></div><div>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?</div><div>I would comment out everything except the Factory.Create() methods to narrow down the source of the problem.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, May 11, 2021 at 5:46 PM Jan Bakuwel <<a href="mailto:jan.bakuwel@omiha.com">jan.bakuwel@omiha.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi David,<br>
<br>
On 11/05/21 2:01 pm, David O'Brien wrote:<br>
> 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.<br>
><br>
> 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.<br>
><br>
> 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.<br>
<br>
Could it be an issue with the registry entries specific for that user?<br>
<br>
You could run scanreg.exe and see if that reveals anything.<br>
<br>
I trust you checked the event logs and didn't see anything in there.<br>
<br>
<a href="https://support.microsoft.com/en-us/topic/description-of-the-windows-registry-checker-tool-scanreg-exe-aaae4323-daa2-8477-5a4e-2a273779fdf0" rel="noreferrer" target="_blank">https://support.microsoft.com/en-us/topic/description-of-the-windows-registry-checker-tool-scanreg-exe-aaae4323-daa2-8477-5a4e-2a273779fdf0</a><br>
<br>
cheers,<br>
Jan<br>
<br>
<br>
-- <br>
<br>
Omiha Systems Ltd<br>
NEW ZEALAND<br>
<br>
For support<br>
please email <a href="mailto:support@omiha.com" target="_blank">support@omiha.com</a><br>
or browse to <a href="http://support.omiha.com" rel="noreferrer" target="_blank">http://support.omiha.com</a><br>
<br>
For urgent support<br>
please call<br>
<br>
p +64 9 950 3007<br>
m +64 22 103 9151<br>
<br>
_______________________________________________<br>
NZ Borland Developers Group - Delphi mailing list<br>
Post: <a href="mailto:delphi@listserver.123.net.nz" target="_blank">delphi@listserver.123.net.nz</a><br>
Admin: <a href="http://delphi.org.nz/mailman/listinfo/delphi" rel="noreferrer" target="_blank">http://delphi.org.nz/mailman/listinfo/delphi</a><br>
Unsubscribe: send an email to <a href="mailto:delphi-request@listserver.123.net.nz" target="_blank">delphi-request@listserver.123.net.nz</a> with Subject: unsubscribe<br>
</blockquote></div>