Jump to content

Recommended Posts

Posted

i Tried Using Function _single ton

It Works Like Charm on same computer

But it is unable to catch up when 2 instance of exe are launched in lan pc

I would also like to know if there was a way to make particular number of instance work like allow 4-5 instance of same exe to run

Posted (edited)
3 minutes ago, Jos said:

So you want to limit the number of concurrent occurrences on separate/different computers on the same network?

Jos

 

Yes Sir, is it possible with autoit?

Edited by n3wbie
  • Developers
Posted (edited)

ah... so you wanted magi to happen by using   _singleton()? ;) 

That requires a lot more coding logic, especially when you want to accomplish this as Peer-2-Peer and no "server" in between.
Things like this are normally done with TCP/UDP, but not something that's trivial to code.

Jos

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted
3 minutes ago, Jos said:

ah... so you wanted magi to happen by using   _singleton()? ;) 

That requires a lot more coding logic, especially when you want to accomplish this as Peer-2-Peer and no "server" in between.
Things like this are normally done with TCP/UDP, but not something that's trivial to code.

Jos

Should i be considering it as no?

or there is any workaround that can be done

one thing that runs in my mind is to use mysql (i dont know till what level m correct)

and set max connections limit so that anytime if more than required user attempt to use app, mysql throws exception and i get it that way but its long process

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
×
×
  • Create New...