Sign in to follow this  
Followers 0
poisonkiller

multiple .dll registering

4 posts in this topic

I created one script, what uses .dll and every time i run script it registers it:

RunWait('Regsvr32 /s "' & "MyDll.dll" & '"')

Is multiple registering good for computer? Or is it bad?

Share this post


Link to post
Share on other sites



nobody knows, if its bad for computer?

Share this post


Link to post
Share on other sites

I created one script, what uses .dll and every time i run script it registers it:

RunWait('Regsvr32 /s "' & "MyDll.dll" & '"')

Is multiple registering good for computer? Or is it bad?

I would expect a message stating that the dll was already loaded so I would assume no harm could be done.


Get Beta versions Here Get latest SciTE editor Here AutoIt 1-2-3 by Valuater - A great starting point.

Time you enjoyed wasting is not wasted time ......T.S. Elliot
Suspense is worse than disappointment................Robert Burns
God help the man who won't help himself, because no-one else will...........My Grandmother

Share this post


Link to post
Share on other sites

I may be slightly confused but I know that DLLs can be un/registered multiple times so that Windows (by keeping count) can determine when a DLL is no longer being used. This action usually takes place during software un/installation.

Based on that knowledge I would suggest that you don't do this.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0