应用程序崩溃后,Windows CE驱动程序如何处理清理? [英] How can a Windows CE driver handle cleanup after an application crashes?

查看:153
本文介绍了应用程序崩溃后,Windows CE驱动程序如何处理清理?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经编写了一个驱动程序来为我的平台处理大量连续内存池。在开发应用程序时利用此驱动程序,我有时会遇到崩溃或挂起。一旦发生这种情况,我将丢失通过此驱动程序分配的所有内存。我正试图在驱动程序中找到一种方法来处理这个问题,以便在发生这样的事件时它可以自动清理。

I have written a driver to handle large pools of contiguous memory for my platform.  While developing an application the utilizes this driver I sometimes experience crashes or hangs.  Once this happens I loss all the memory that i've allocated through this driver.  I'm trying to find a way to handle this in the driver so that when such an event happens it can automatically clean up.  


推荐答案

此论坛适用于XP Embedded。请尝试以下Windows CE论坛之一: http://msdn.microsoft.com/en-us/embedded /aa731160.aspx

-Sean


这篇关于应用程序崩溃后,Windows CE驱动程序如何处理清理?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆