Am working on VC++ application.
Figuring out how to restart my own application
Can somebody show some example
Write a program, which will:
Call this program, then exit your application. This solution is quite widely used.
Another option:
Call your application with specific parameter (eg. /restarted). The new instance should wait for the old one to terminate before performing any tasks. Then shut down the old instance.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With