应用冻结
Application freezing?
是否有可能编写一个c++程序,为给定的windows进程执行以下操作:
1) pause an application
2) copy the memory of that application to the HDD
3) kill the application
4) at a later point start the application in the exact same state it was before by loading the saved memory
一个人想要这样做有很多原因,我相信它将在调试中特别有帮助。
不可能。进程映像中的一些值是内核句柄。当您恢复映像时,它们将没有相应的内核结构。如果你不相信我,你应该相信Raymond Chen:为什么系统不能只休眠一个进程?
可以创建一个转储文件,参见如何在Windows Vista和Windows 7, .dump
或MiniDumpWriteDump
中创建用户模式进程转储文件。多年来,开发人员已经成功地使用转储进行调试…
相关文章:
- QT应用程序冻结
- QT应用程序接口冻结
- 如何在不冻结线程/应用程序的情况下减慢方法执行速度
- 在线程中复制文件以防止冻结应用程序
- 在C++中读取文件时应用程序冻结
- 监视C++OpenFrameworks应用程序是否冻结或内存泄漏,然后强制退出并重新启动
- 在这个基于对话框的应用程序中,GUI会在几秒钟后冻结
- 故意在 VB.NET 中冻结应用程序
- 如何在不冻结应用程序 1 的情况下从另一个应用程序 1 执行应用程序 2
- 在 android 上向 JNI 类添加私有字段会冻结应用程序
- Qt 应用程序在从 <QUrl>NetworkAccessManager->get() 回调访问 QList<QLlnkedList* >时冻结
- 为什么这个子网类应用程序冻结了
- Qt事件后,长例程冻结了我的应用程序一段时间
- WaitForSingleObject冻结应用
- Win32 API:打开对话框窗口后应用程序冻结
- c++ linux时间冻结应用程序
- wxWidgets应用程序在尝试启动新对话框时冻结
- 当添加一个用于监听网络的新线程时,应用程序冻结
- 更新CListCtrl时MFC应用程序冻结
- Linux应用程序在boost::thread::join时冻结