[quote=234906:@Eric Brown]I’m not exactly sure what you’re looking for, but I’ll give a suggestion a shot on what I THINK you need:
You need to set up two separate applications. One is the main application, and the other is a watchDog application.
These two applications need a connection via a IPCSocket and they each need to constantly ‘ping’ one another.
If one fails, have it insure that the other isn’t already running and re-launch accordingly.
If somebody closes the main application, the watchDog will detect it and immediately (or causally, depending on how aggressive you want it) re-launch the main application.
If somebody closes the watchDog application, the main application will also detect it and re-launch the watchDog application.
You can have several watchDog applications all watching one another (making it more difficult for the end user to close them all before another is initiated).
Be forewarned; however, that this is a lot how malware and similar applications ensure that their service isn’t interrupted either… and you wanting to transfer screenshots on top of this, makes it sound a lot like this.[/quote]
[quote=234906:@Eric Brown]I’m not exactly sure what you’re looking for, but I’ll give a suggestion a shot on what I THINK you need:
You need to set up two separate applications. One is the main application, and the other is a watchDog application.
These two applications need a connection via a IPCSocket and they each need to constantly ‘ping’ one another.
If one fails, have it insure that the other isn’t already running and re-launch accordingly.
If somebody closes the main application, the watchDog will detect it and immediately (or causally, depending on how aggressive you want it) re-launch the main application.
If somebody closes the watchDog application, the main application will also detect it and re-launch the watchDog application.
You can have several watchDog applications all watching one another (making it more difficult for the end user to close them all before another is initiated).
Be forewarned; however, that this is a lot how malware and similar applications ensure that their service isn’t interrupted either… and you wanting to transfer screenshots on top of this, makes it sound a lot like this.[/quote]
Could you give some code for two apps communication’s sample code ,and make screenshot’s code?