Can I limit the no of instances od an dll?
Hi,
I'm interested to know if it possible to limit (or detect) the no of instances of an dll (VB6) that are running or are instantiated.
I would like to limit the no of instances from inside the dll, (if the no of instances reach a limit all the new tentative of instantiating will do something else (return a busy code...)
thank you,
Sorin
This will work for different clients?
Lethal,
Thank you for answer.
This solution will work for a different clients? Practicly this dll will be called from a stored procedure on a SQL server, and I want to limit the no of instances that run at an time. I'm not sure if the instances will be able to comunicate if they are not created by the same client.
Thank you,
Sorin