5

Is there any way to suspend an application execution, store its process image to a file, and restore it later (keeping the application as it was at the moment of suspension)? What I want to do is something like an "hibernate" for applications on WinXP.

Is there any application capable of doing this?

What I have so far, is a virtualized system using vmware, where I can suspend and resume applications, but to accomplish the task, I have to suspend the whole virtualized system.

Thank you in advance.

4

3 回答 3

1

我可以想象如果你有一个对象来维护你的应用程序的状态并且总是基于那个状态对象的 UI。

当您的应用程序关闭时,该状态对象可以被序列化/保存。当应用程序重新启动时,它将加载/反序列化您的状态对象并将您的 UI 带回您离开的位置。

于 2011-02-28T23:36:15.397 回答
0

I can only think of one example when this is done. Unfortunately, it's not done under favourable conditions! You can set up the operating system to create a memory dump whenever a process crashes. This crash dump can then be loaded into a debugger, which can see the exact state of every variable in the process at the time it crashed. I presume you want something similar, but without the process crashing? ;-)

于 2011-03-01T00:02:28.493 回答
0

您看过 VMWare ThinApp 吗?听起来它可以实现您想要实现的目标...

于 2011-10-24T18:34:28.007 回答