I am needing to write a simple program that will wrap an existing desktop application that we do not have the source code for. We are going to move the main desktop application to an online cloud-based application warehouse and we need some kind of wrapper program that will delete any user created data upon exit of the main application. Namely, session data and files that will be created and downloaded to local machines, but shouldn’t persist in the warehouse version of the program.
I don’t really know where to even begin on this problem. Is there an existing program that can do this, or what would be the way to start writing a wrapper for the program? Is there any existing documentation for writing a wrapper for an existing application? Any help or advice is appreciated.