Quote Originally Posted by jpbro View Post
Try this in the latest version:

  • Compile the demo app and run 1 instance of it.
  • Run another instance of it - note that both instances are allowed to run.
  • Close one of the instances
  • In the remaining instance click the Extras menu, then click Block other app instances. This will acquire a perpetual mutex that will last for the rest of this app instances lifetime.
  • Try to start another instance of the app - it will now show a message that another instance is running and give the option to Retry or Cancel.
  • Click Retry a few times and notice that the app never starts, just keeps prompting you to Retry/Cancel.
  • Close the fully running instance of the app
  • Click Retry - the other instance of the app now starts.
It looks good, but many features are currently not usable. I hope there is a real use case where this module can actually be applied.thanks